On Fri, May 13, 2022 at 09:37:13AM +0200, Gandalf Corvotempesta wrote: > How this is possible ? > seems that sdc has some failed sectors but disk is still active in the array > > [Mon May 2 03:36:24 2022] sd 0:0:2:0: [sdc] Unhandled sense code > [Mon May 2 03:36:24 2022] sd 0:0:2:0: [sdc] > [Mon May 2 03:36:24 2022] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > [Mon May 2 03:36:24 2022] sd 0:0:2:0: [sdc] > [Mon May 2 03:36:24 2022] Sense Key : Medium Error [current] > [Mon May 2 03:36:24 2022] Info fld=0x10565570 > [Mon May 2 03:36:24 2022] sd 0:0:2:0: [sdc] > [Mon May 2 03:36:24 2022] Add. Sense: Unrecovered read error > [Mon May 2 03:36:24 2022] sd 0:0:2:0: [sdc] CDB: > [Mon May 2 03:36:24 2022] Read(10): 28 00 10 56 51 80 00 04 00 00 > [Mon May 2 03:36:24 2022] end_request: critical medium error, dev > sdc, sector 274093424 > [Mon May 2 03:36:25 2022] sd 0:0:2:0: [sdc] Unhandled sense code > [Mon May 2 03:36:25 2022] sd 0:0:2:0: [sdc] > [Mon May 2 03:36:25 2022] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > [Mon May 2 03:36:25 2022] sd 0:0:2:0: [sdc] > [Mon May 2 03:36:25 2022] Sense Key : Medium Error [current] > [Mon May 2 03:36:25 2022] Info fld=0x10565584 > [Mon May 2 03:36:25 2022] sd 0:0:2:0: [sdc] > [Mon May 2 03:36:25 2022] Add. Sense: Unrecovered read error > [Mon May 2 03:36:25 2022] sd 0:0:2:0: [sdc] CDB: > [Mon May 2 03:36:25 2022] Read(10): 28 00 10 56 55 80 00 04 00 00 > [Mon May 2 03:36:25 2022] end_request: critical medium error, dev > sdc, sector 274093444 > [Mon May 2 04:06:32 2022] md: md0: data-check done. The error is reported from the device. As far as I know, and please someone correct me if I'm wrong, when a device has an error, "md" tries to re-write the data, using the redundancy, and, if no error occurs, it just continues, no reason to kick the device our of the array. bye, pg > > > > # cat /proc/mdstat > Personalities : [raid1] > md0 : active raid1 sdc1[2] sda1[0] sdb1[1] > 292836352 blocks super 1.2 [3/3] [UUU] > bitmap: 3/3 pages [12KB], 65536KB chunk > > unused devices: <none> -- piergiorgio