linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: RAID1 On 3 Drives
@ 2010-03-13 22:30 Joachim Otahal
  2010-03-13 23:18 ` Carlos Mennens
  0 siblings, 1 reply; 19+ messages in thread
From: Joachim Otahal @ 2010-03-13 22:30 UTC (permalink / raw)
  To: linux-raid

On Sun, Mar 14, 2010 at 12:06 AM, 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.
>
>  Can anyone please help me understand this?

/boot must be RAID1 (or a normal partition), everything else can be RAIDwhatever. Grub has no problems reading /boot from a mirrors.

It is possible to make RAID1 to use more than two drives and keep the all active. In your case it is a matter of "believe" whether a spare is better or actually using all four actively in your raid, I prefer the latter.
I have heavily tested more than two only with files via loopback yet, two drive, three drives, four drives and more. It does work, the testfile generated out of urandom kept the correct hash value throughout all my sick testings.
The quick test with three SATA drives worked too, but it was just for the fun to see whether grub pukes or works (works if you don't forget the grub setup for drive 2, 3 etc).
My plan is: Use RAID1 with 4 drives (quad-mirroring) for /boot or / and raid10 or raid5 for the data upon my next linux server upgrade.

Joachim Otahal



^ permalink raw reply	[flat|nested] 19+ messages in thread
* RAID1 On 3 Drives
@ 2010-03-13 21:06 Carlos Mennens
  2010-03-13 21:21 ` Majed B.
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Carlos Mennens @ 2010-03-13 21:06 UTC (permalink / raw)
  To: Mdadm

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.

Can anyone please help me understand this?

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-03-20 16:08 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-13 22:30 RAID1 On 3 Drives 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
  -- strict thread matches above, loose matches on Subject: below --
2010-03-13 21:06 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
2010-03-14  3:30       ` Majed B.
2010-03-14  1:22 ` thib

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).