Skip to contentSkip to conversation

Booting off of RAID10 versus RAID1

DISCUSSION Maurice Hilarius 5 participants 6 messages May 8, 2008 – May 11, 2008 MD RAID

lore
Share & tools
lore
#0 lore raw

After recent issues discovered with RAID1 and failing disks, I am contemplating alternatives to ensure more reliability.

The question that arises: Is there any way to boot a system from a RAID10 md?

Signature · 1 line
Regards, Maurice
#1 lore raw

I'm pretty sure you can't put the kernel on a raid 10, but you can have a 50-100MB RAID1 (or not raid) /boot partition (on each hdd if you wish) and then have root on raid 10 provided you compile in support for it or use a initrd. I have used this setup successfully without the kernel raid 10 support (older linux distro). I just have a raid 0 on top of three raid 1's that auto assemble the raid 1's upon boot but then have to manually assemble the raid 0 since the boot-up procedure only does one round of raid auto-detecting.

Just required this little hack in menu.lst

title Default kernel - build2
root (hd0,0)
kernel /kernel-build2 root=/dev/md4 md=4,/dev/md1,/dev/md2,/dev/md3

Just a trick I used, makes some great vm and/or db servers. Cheers,

- A

Quoted 3 lines · Maurice Hilarius

After recent issues discovered with RAID1 and failing disks, I am contemplating alternatives to ensure more reliability.

The question that arises: Is there any way to boot a system from a RAID10 md?

#2 lore raw
In reply to Maurice Hilarius
Quoted 5 lines · Maurice Hilarius

After recent issues discovered with RAID1 and failing disks, I am contemplating alternatives to ensure more reliability.

The question that arises: Is there any way to boot a system from a RAID10 md?

I believe you can boot off a raid10,n2 array.

best regards
keld

#3 lore raw
Quoted 8 lines · Keld Jørn Simonsen
Quoted 5 lines · Maurice Hilarius

After recent issues discovered with RAID1 and failing disks, I am contemplating alternatives to ensure more reliability.

The question that arises: Is there any way to boot a system from a RAID10 md?

I believe you can boot off a raid10,n2 array.

You should also be able to boot off a raid5 array with 2 disks!

Best regards
keld
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to Maurice Hilarius
Quoted 5 lines · Maurice Hilarius

After recent issues discovered with RAID1 and failing disks, I am contemplating alternatives to ensure more reliability.

The question that arises: Is there any way to boot a system from a RAID10 md?

I've been wondering about booting grub/initrd from a flash USB stick (industrial quality if needed).

David

#5 lore raw
Quoted 5 lines · David Greaves
Quoted 3 lines · Maurice Hilarius

After recent issues discovered with RAID1 and failing disks, I am contemplating alternatives to ensure more reliability.

Quoted 7 lines
Quoted 3 lines

The question that arises: Is there any way to boot a system from a RAID10 md?

I've been wondering about booting grub/initrd from a flash USB stick (industrial quality if needed).

Not needed, you won't be writing it often (I hope!), so just the MBR and /boot can go on that device.

Signature · 3 lines
Bill Davidsen <[email protected]>
 "Woe unto the statesman who makes war without a reason that will still
 be valid when the war is over..." Otto von Bismark