RAID/LVM Root Filesystem on SuSE8.2

Matthew Carpenter matt
Wed Feb 9 16:34:53 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That's what I'm gathering from my research and study (read "gnashing of
teeth").  In that regard, the RAID is running at a higher level than GRUB.

Grub can scam the component drives individually, you install GRUB on
both so that they can both boot from their own /boot and each others
(With failover

Once you're up and running, both /boot's are kept in sync using RAID1.
That is why you can't run RAID0,5,10,etc... on /boot


BTW-  I did find the article again.  I had left it at work buried under
other paperwork.  It's making a lot more sense since I busted my
knuckles on it last night ('til 3am).  Good thing my wife went out with
some friends and came back late or I'd have had to give up mid-way.  I
hate doing that ;)

Mike Reinehr wrote:
| 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.
|
|

- --
Matthew Carpenter
matt at eisgr.com                          http://www.eisgr.com/

Enterprise Information Systems
* Network Server Appliances
* Security Consulting, Incident Handling & Forensics
* Network Consulting, Integration & Support
* Web Integration and E-Business
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCCoEhso9lqh4MragRAu1FAJ4r4oGqKMo9rzwobOgPjDImQSK6ZQCeLVKp
KIN4Lu/hYkFEsjn3tuPGkbU=
=BWEQ
-----END PGP SIGNATURE-----



More information about the Linux-users mailing list