From: Goswin von Brederlow <goswin-v-b@web.de>
To: Carlos Williams <carloswill@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Building RAID5 w/o a Hot Spare
Date: Wed, 27 Jan 2010 16:14:06 +0100 [thread overview]
Message-ID: <87ockf37i9.fsf@frosties.localdomain> (raw)
In-Reply-To: <d80f793f1001270626s3ec1791ma0b5da4b87a31e34@mail.gmail.com> (Carlos Williams's message of "Wed, 27 Jan 2010 09:26:50 -0500")
Carlos Williams <carloswill@gmail.com> writes:
> I am building a Linux system which has 4 identical 'fd' partitions on
> each of the 4 drives. I don't want to use the 4th partition or disk if
> you would like to call it as a 'hot spare'. I would like to span the
> entire array over the 4 drives. My question is does my command look
> correct for doing so?
>
> mdadm --create /dev/md0 --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2
> /dev/sdc2 /dev/sdd2
>
> I shouldn't have to specify any additional flags in the 'mdadm'
> command to make sure it uses all 4 drives as the RAID5 array, right?
No, it will use 4 drives as specified. Linux mdadm doesn't get ideas on
its own. It does what you tell it to do. :)
MfG
Goswin
PS: sda2 is usualy not the 4th partition on a drive
next prev parent reply other threads:[~2010-01-27 15:14 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
[not found] ` <1264603005.1928.3.camel@test.apertos.eu>
[not found] ` <d80f793f1001270641k29430f12r59b9f9fa02966ea0@mail.gmail.com>
2010-01-27 14:49 ` Carlos Williams
2010-01-27 15:34 ` Michał Sawicz
2010-01-27 15:14 ` Goswin von Brederlow [this message]
2010-01-27 15:15 ` Carlos Williams
2010-01-27 20:46 ` Goswin von Brederlow
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=87ockf37i9.fsf@frosties.localdomain \
--to=goswin-v-b@web.de \
--cc=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