Re: ICH7 sata-ahci + software raid warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2006/7/11, Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>:
Why not just --set-faulty or --fail with mdadm?


If you answer to "Bad blocks maybe, can't test that.", I'll say AFAIK,
--set-faulty will only stay at the md layer, and won't go through the
underlying driver (sata here, ata elsewhere, ...), so this will not
help diagnose the driver behaviour on block read problem.

If you answer to the fact that md does not mark the drive faulty, I
guess Christian was refering to an automatic to mark the disk faulty,
not a manual way, in order, for exemple, to trigger a resync with a
spare drive just after a drive failure has been detected (and not only
after the admin found it).

As an ugly workaround, a daemon script could look at the current drive
status regularly (in /sys, in /proc or trying to read /dev/sd?), and
mark the drive faulty on error...
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux