From: Markus Krainz <ldm@gmx.at>
To: linux-raid@vger.kernel.org
Subject: Re: Building new RAID5 results in removed and failed devices
Date: Fri, 25 Jun 2010 00:23:49 +0200 [thread overview]
Message-ID: <4C23DAF5.3010401@gmx.at> (raw)
In-Reply-To: <AANLkTil7F2gHUVzBGbqBU4tUDdKBpVThEwnOmm0RdRn4@mail.gmail.com>
On 06/24/2010 11:03 PM, Dan Williams wrote:
> This is expected without the --force option:
>
> --force
> Insist that mdadm accept the geometry and layout
> specified without question.
> Normally mdadm will not allow creation of an array with
> only one device, and
> will try to create a RAID5 array with one missing
> drive (as this makes the
> initial resync work faster). With --force, mdadm will
> not try to be so
> clever.
>
>
The manpage you quoted says mdadm will not create a raid5 array with
only one device.
However in my case I have --raid-devices=2 and both /dev/sdd1 and
/dev/sdb1. So I should be ok with a raid5 and 2 devices?
The reason I am not using raid1 is because a want to add more drives
later on.
Best regards,
Markus
mdadm --create --verbose /dev/md1 --chunk=64 --level=5 --raid-devices=2
/dev/sdd1 /dev/sdb1
next prev parent reply other threads:[~2010-06-24 22:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-24 20:26 Building new RAID5 results in removed and failed devices Markus Krainz
2010-06-24 21:03 ` Dan Williams
2010-06-24 22:23 ` Markus Krainz [this message]
2010-06-24 21:38 ` Robin Hill
2010-06-24 22:10 ` Markus Krainz
2010-06-25 4:06 ` Mikael Abrahamsson
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=4C23DAF5.3010401@gmx.at \
--to=ldm@gmx.at \
--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