From: Neil Brown <neilb@suse.de>
To: "Majed B." <majedb@gmail.com>
Cc: LinuxRaid <linux-raid@vger.kernel.org>
Subject: Re: RAID1 On 3 Drives
Date: Sun, 14 Mar 2010 08:50:56 +1100 [thread overview]
Message-ID: <20100314085056.5ea95f95@notabene.brown> (raw)
In-Reply-To: <70ed7c3e1003131331g14e30331k8b97520c906431fd@mail.gmail.com>
On Sun, 14 Mar 2010 00:31:01 +0300
"Majed B." <majedb@gmail.com> wrote:
> Neil,
>
> Since when was this possible? I always thought that it had to have an
> even number of disks.
md has never imposed a 2-drive restriction on raid1. That would be fairly
pointless.
Requiring an even number of devices would also be pointless.
The term "mirror" is possibly a cause of confusion as it suggests an original
and a copy. It also suggests that the copy is reflected in some way.
Neither of these are true.
RAID1 stores multiple copies of the same data. All copies are equal. You can
have as many or as few of them as you like. 1, 2, 3, 4, ....
NeilBrown
>
> On Sun, Mar 14, 2010 at 12:26 AM, Neil Brown <neilb@suse.de> wrote:
> > On Sat, 13 Mar 2010 16:06:38 -0500
> > Carlos Mennens <carloswill@gmail.com> wrote:
> >
> >> I was told by my distributions Wiki page that Grub doesn't support
> >> RAID 5 or RAID 6 so I would need to create a volume with three disks
> >> and set the level to RAID 1:
> >>
> >> # mdadm --create /dev/md1 --level=1 --raid-devices=3 /dev/sda1
> >> /dev/sdb1 /dev/sdc1 --spare-devices=1 /dev/sdd1
> >>
> >> Is this possible to mirror three identical drive partitions? I was
> >> talking to some co-workers and was told that I could only pair two
> >> drives on RAID 1.
> >
> > Your co-workers are wrong, at least for md raid. With md, a RAID1 can have
> > any number of devices from 1 upwards - the limit varies in different
> > situations but is at least 28.
> >
> > Try it and see.
> >
> > NeilBrown
> >
> >>
> >> Can anyone please help me understand this?
> >> --
> >> 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
> >
> > --
> > 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
> >
>
>
>
--
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-03-13 21:50 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-13 21:06 RAID1 On 3 Drives Carlos Mennens
2010-03-13 21:21 ` Majed B.
2010-03-13 21:24 ` Carlos Mennens
2010-03-14 21:09 ` Luca Berra
2010-03-13 21:45 ` Neil Brown
2010-03-13 21:26 ` Neil Brown
2010-03-13 21:31 ` Majed B.
2010-03-13 21:50 ` Neil Brown [this message]
2010-03-14 3:30 ` Majed B.
2010-03-14 1:22 ` thib
-- strict thread matches above, loose matches on Subject: below --
2010-03-13 22:30 Joachim Otahal
2010-03-13 23:18 ` Carlos Mennens
2010-03-13 23:50 ` Bill Davidsen
2010-03-15 12:30 ` Carlos Mennens
2010-03-15 12:48 ` Majed B.
2010-03-15 14:47 ` Carlos Mennens
2010-03-15 16:05 ` Majed B.
2010-03-16 1:46 ` Keld Simonsen
2010-03-20 16:08 ` 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=20100314085056.5ea95f95@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=majedb@gmail.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).