linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Neil Brown <neilb@suse.de>
Cc: Maurice Hilarius <maurice@harddata.com>, linux-raid@vger.kernel.org
Subject: Re: Verifying spare drive, best practices
Date: Tue, 25 Mar 2008 12:19:34 -0400	[thread overview]
Message-ID: <47E92616.1030007@tmr.com> (raw)
In-Reply-To: <18408.33825.920147.425644@notabene.brown>

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 



      parent reply	other threads:[~2008-03-25 16:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-21  4:35 Verifying spare drive, best practices Maurice Hilarius
2008-03-21 15:13 ` Carlos Carvalho
2008-03-22 17:25   ` Bill Davidsen
2008-03-25  4:48 ` Neil Brown
2008-03-25 13:29   ` Peter Evertz
2008-03-25 16:19   ` Bill Davidsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47E92616.1030007@tmr.com \
    --to=davidsen@tmr.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=maurice@harddata.com \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).