RAID/LVM Root Filesystem on SuSE8.2
Mike Reinehr
cmr
Wed Feb 9 10:25:01 PST 2005
Just a quick question. Booting from a RAID 1 device seems to work easily, but
would it work from RAID 0, RAID 5, or RAID 10, as well? Personally, I suspect
that it works only with RAID 1 because GRUB (or LILO, I suppose) still can
access the component drives individually and that striped drives would not
work. (Sorry, I haven't had time to experiment, myself.)
Thanks!
cmr
On Tuesday 08 February 2005 09:49 pm, A. Khattri wrote:
> I am using RAID boot devices on several servers with a 2.6 kernel
> successfully. Im trying to understand how you built the RAID? Also what
> kind of RAID is it?
>
> If its any use, I will briefly describe the procedure I used (I used RAID
> 1, i.e. mirrored drives).
>
> 1. Partitioned disks and set partition type to 'Linux auto-detect RAID'.
> ? ?I also made sure the two partitions that make up /boot were set as
> ? ?bootable.
>
> 2. I then wrote a raidtab file (its well documented format but I can
> ? ?post one of mine if need be).
>
> 3. I used mkraid to build each array.
>
> 4. I then used mke2fs to built an ext3 file system on each md device.
>
> 5. At that point I could mount the disks and do a regular install (Im
> ? ?using Gentoo so no fancy GUI for me ;-) I made sure the raidtab file
> ? ?was copied over to /etc on the root md device.
>
> 6. I dont use initrd's on my servers (why make things more complicated?)
> ? ?so I built a kernel with SCSI and RAID support built in (no modules).
>
> 7. When installing grub, I did a separate boot sector install on the two
> ? ?drives that make up md0 (/boot).
>
>
> This setup seems to work for me.
>
>
> --
> Aj.
--
Debian 'Sarge': Registered Linux User #241964
----
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
--------
More information about the Linux-users
mailing list