From: Neil Brown <neilb@cse.unsw.edu.au>
To: SoulBlazer <soul@lamp-post.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: Floating Spare
Date: Tue, 9 Apr 2002 09:37:38 +1000 (EST) [thread overview]
Message-ID: <15538.10690.791595.74445@notabene.cse.unsw.edu.au> (raw)
In-Reply-To: message from SoulBlazer on Monday April 8
On Monday April 8, soul@lamp-post.net wrote:
> Can you share 2 or 3 'spare-disks' between multiple raid sets?
>
> Eg. I have a 22 disk array chopped into multiple 4 disk raid-5 volumes, this
> leaves me with 2 disks left over.. Can I assign these two drives as floating
> spares incase of failure.. this will obviously be a 'first come first serve'
> scenario for raid failure.. but its better then not using them.
The kernel driver doesn't directly support this.
However "mdadm" does.
Get mdadm from
http://www.cse.unsw.edu.au/~neilb/source/mdadm/
compile, and read the doco.
You describe your arrays in /etc/mdadm.conf and mention that they are
both in the same "spare-group", and then run "mdadm --monitor".
This periodically polls the arrays, emails you when there are
failures, and will move spares between arrays if needed.
NeilBrown
/etc/mdadm.conf:
DEVICES /dev/disc/*/*
array /dev/md/0 uuid=whatever spare-group=A
array /dev/md/1 uuid=somethingelse spare-group=A
You only need "uuid=" if you want to use mdadm to assemble your arrays
aswell.
NeilBrown
prev parent reply other threads:[~2002-04-08 23:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-08 18:41 Floating Spare SoulBlazer
2002-04-08 19:05 ` Marcel
2002-04-08 23:37 ` Neil Brown [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=15538.10690.791595.74445@notabene.cse.unsw.edu.au \
--to=neilb@cse.unsw.edu.au \
--cc=linux-raid@vger.kernel.org \
--cc=soul@lamp-post.net \
/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).