If I execute the following command:
Code:
echo "- - -" > /sys/class/scsi_host/host<X>/scan
Can the scan kick out a disk that might fail?
I'm running raid10 and a disk broke, when I tried replacing the new the disk I got the following:
Code:
end_device-4:9: mptsas: ioc0: removing ssp device: fw_channel 0, fw_id 3, phy 3,sas_addr 0x5000c5003a458475
phy-4:3: mptsas: ioc0: delete phy 3, phy-obj (0xffff88041e9d3c00)
port-4:9: mptsas: ioc0: delete port 9, sas_addr (0x5000c5003a458475)
mptsas: ioc0: attaching ssp device: fw_channel 0, fw_id 3, phy 3, sas_addr 0x5000c5007421ede9
scsi target4:0:10: mptsas: ioc0: delete device: fw_channel 0, fw_id 3, phy 3, sas_addr 0x5000c5007421ede9
and a smartctl -i gives the following:
Code:
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Smartctl open device: /dev/sde failed: No such device
Previously, I was able to echo and rescan the disk no problem. My worry here is that another disk looks like it's about to fail:
Code:
[51312674.926133] sd 4:0:6:0: [sdc] Unhandled sense code
[51312674.986524] sd 4:0:6:0: [sdc] Result: hostbyte=invalid driverbyte=DRIVER_SENSE
[51312675.080547] sd 4:0:6:0: [sdc] Sense Key : Medium Error [current]
[51312675.157614] Info fld=0x1fb3e475
[51312675.198222] sd 4:0:6:0: [sdc] Add. Sense: Unrecovered read error
[51312675.274258] sd 4:0:6:0: [sdc] CDB: Read(10): 28 00 1f b3 e4 60 00 00 40 00
[51312675.359718] end_request: critical target error, dev sdc, sector 531883125
[51312675.444013] md/raid10:md1: sdc2: rescheduling sector 1062762592
[51312677.609173] sd 4:0:6:0: [sdc] Unhandled sense code
[51312677.669562] sd 4:0:6:0: [sdc] Result: hostbyte=invalid driverbyte=DRIVER_SENSE
[51312677.760141] sd 4:0:6:0: [sdc] Sense Key : Medium Error [current]
[51312677.837211] Info fld=0x1fb3e475
[51312677.877816] sd 4:0:6:0: [sdc] Add. Sense: Unrecovered read error
[51312677.953821] sd 4:0:6:0: [sdc] CDB: Read(10): 28 00 1f b3 e4 70 00 00 08 00
[51312678.039358] end_request: critical target error, dev sdc, sector 531883125
[51312678.498390] md/raid10:md1: read error corrected (8 sectors at 2064 on sdc2)
[51312678.612695] md/raid10:md1: sdb2: redirecting sector 1062762592 to another mirror
Could running the above command scan and kick sdc? I don't want sdc to be kicked because it will cause my server to crash.
Any help is appreciated!