[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-raid
Subject:    Re: Verifying spare drive, best practices
From:       Bill Davidsen <davidsen () tmr ! com>
Date:       2008-03-25 16:19:34
Message-ID: 47E92616.1030007 () tmr ! com
[Download RAW message or body]

Neil Brown wrote:
> On Thursday March 20, maurice@harddata.com 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.
>   

Another case for raid4e ;-)

-- 
Bill Davidsen <davidsen@tmr.com>
  "Woe unto the statesman who makes war without a reason that will still
  be valid when the war is over..." Otto von Bismark 


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic