Software Raid through kickstart

Kostas Georgiou k.georgiou at imperial.ac.uk
Mon Apr 10 11:59:03 UTC 2006


On Sat, Apr 08, 2006 at 02:55:02PM +0500, Nauman Yousuf wrote:

> Dear All
> I want to install REDHAT AS4 through kistart start i did it . with software
> raid

> clearpart --all
> part /boot --fstype "ext3" --size=500 --ondisk=sda
> part /boot1 --fstype "ext3" --size=500 --ondisk=sdb --asprimary

Any reason not to use raid as well? Something like this for
example works for me.

part raid.00 --size=256 --ondisk=sda --asprimary
part raid.01 --size=256 --ondisk=sdb --asprimary
raid /boot --fstype ext3 --level=RAID1 raid.00 raid.01

> 
> first thing raid is built successfully but as soon redhat install it gets
> boot and afer boot it gives me error
> i make /boot on first drive /dev/sda1 and /boot1 on /dev/sdb1 for disk
> recovery if one disk fails it boots from 2 disk.
> but when i install it give me error that fstab has entry
> #LABEL=/boot1            /boot1                  ext3    defaults        1 2
> when i uncomnt it it gets boot seemlesly .

After the dd from sda1 to sdb1 the label in sdb1 is /boot and not /boot1 so
it fails, you can use tune2fs -L /boot1 /dev/sdb1 after the dd to restore
the label for example but it is a lot better IMHO to use software raid for
/boot.

Kostas




More information about the Kickstart-list mailing list