Re: Verifying spare drive, best practices

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

 



Neil Brown schrieb:
On Thursday March 20, maurice@xxxxxxxxxxxx wrote:
Given this situation:
7 disks in total
RAID5 of 6 disks, and a hot spare.

mdadm show the 6 disks, but not the spare.

As a maintenance question, where one wants to periodically ensure that the hot spare is both available and good.
How should one best :
1) Verify the hot spare is still available.

 - On the relevant line in mdadm.conf, put "spares=1"
 - have a daily cron job that runs
     mdadm --montor --scan --oneshot

It will report every day with a "SparesMissing" event if the right
number of spares is not present.
But that will wakeup the spare-drive ? So i have to put them aspleep again with "hdparm -y" ?

--
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