linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Maurice Hilarius <maurice@harddata.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Verifying spare drive, best practices
Date: Tue, 25 Mar 2008 15:48:33 +1100	[thread overview]
Message-ID: <18408.33825.920147.425644@notabene.brown> (raw)
In-Reply-To: message from Maurice Hilarius on Thursday March 20

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.

> 2) Verify that the hot spare is healthy?

Others have answered this.

NeilBrown

  parent reply	other threads:[~2008-03-25  4:48 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 [this message]
2008-03-25 13:29   ` Peter Evertz
2008-03-25 16:19   ` Bill Davidsen

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=18408.33825.920147.425644@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=maurice@harddata.com \
    /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).