From: Carlos Williams <carloswill@gmail.com>
To: linux-raid@vger.kernel.org
Subject: Re: Building RAID5 w/o a Hot Spare
Date: Wed, 27 Jan 2010 09:49:04 -0500 [thread overview]
Message-ID: <d80f793f1001270649q117571afn4c6cb0cbd4676af5@mail.gmail.com> (raw)
In-Reply-To: <d80f793f1001270641k29430f12r59b9f9fa02966ea0@mail.gmail.com>
2010/1/27 Michał Sawicz <michal@sawicz.net>:
> I'm not sure I understand what you want to achieve. A 'spare' disk is
> one that isn't used until any of the other fail, then the spare replaces
> the failed one. The term 'hot spare' is used to identify a disk that is
> a mirror of one of the other drives, but there's no support for that in
> Linux Software-RAID.
I am sorry because I think I was using the wrong terminology then. I
want to use all 4 disks to be an active member or the RAID5 /dev/md0.
I wanted to make sure the command I posted in my original post was not
going to use 3 partitions for active members of RAID5 on /dev/md0 and
use the 4th drive as a 'spare device' in case one of the three drives
fail. I don't want that. I just want 4 active / working devices for
/dev/md0.
>> mdadm --create /dev/md0 --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2
>> /dev/sdc2 /dev/sdd2
>
> This will create a RAID5 array of 4 devices, yes. Capacity will be 3 x
> sd?2. Failure of any one of those disks will not harm the data.
OK. I think that answers my questions. Thanks for your help!
--
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
next prev parent reply other threads:[~2010-01-27 14:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-27 14:26 Building RAID5 w/o a Hot Spare Carlos Williams
2010-01-27 14:46 ` Michał Sawicz
2010-01-27 14:53 ` Robin Hill
2010-02-01 21:45 ` Bill Davidsen
2010-01-27 15:14 ` Goswin von Brederlow
2010-01-27 15:15 ` Carlos Williams
2010-01-27 20:46 ` Goswin von Brederlow
[not found] ` <1264603005.1928.3.camel@test.apertos.eu>
[not found] ` <d80f793f1001270641k29430f12r59b9f9fa02966ea0@mail.gmail.com>
2010-01-27 14:49 ` Carlos Williams [this message]
2010-01-27 15:34 ` Michał Sawicz
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=d80f793f1001270649q117571afn4c6cb0cbd4676af5@mail.gmail.com \
--to=carloswill@gmail.com \
--cc=linux-raid@vger.kernel.org \
/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).