hi All<br>
I am doing software raid on Redhat AS4 with SATA drives. I am using
GRUB Both disks are bootable i checked it out one by one n system boots
from any one installed disk. Prb is when i add new disk and run this
script<br>
<br>
#!/bin/bash<br>
echo Please, new Drive for Drive 1 enter /dev/sda and for 2 Drive enter /dev/sdb<br>
read DRIVE<br>
echo "Drive is  $DRIVE"<br>
if [ $DRIVE = "/dev/sdb" ];then<br>
{/sbin/sfdisk -d /dev/sda > $DRIVE.out<br>
/sbin/sfdisk $DRIVE < $DRIVE.out}<br>
else<br>
{/sbin/sfdisk -d /dev/sdb > $DRIVE.out<br>
/sbin/sfdisk $DRIVE < $DRIVE.out}<br>
fi<br>
/sbin/mdadm /dev/md0 --add ${DRIVE}6<br>
/sbin/mdadm /dev/md1 --add ${DRIVE}2<br>
/sbin/mdadm /dev/md2 --add ${DRIVE}8<br>
/sbin/mdadm /dev/md3 --add ${DRIVE}5<br>
/sbin/mdadm /dev/md4 --add ${DRIVE}3<br>
/sbin/mdadm /dev/md5 --add ${DRIVE}7<br>
/sbin/mdadm /dev/md6 --add ${DRIVE}1<br>
<br>
<br>
<br>
it add the second disk in my case and add all the new disk with same
partitions as we have with old raid and Raid is then resync too. i make
/boot as raid , / , /usr , swap all are raid md's . Now when i boot
from 2 disk it wont boot . what to do any idea . iTs really urgrent to
do . Your help is highly appriciated.<br>
<br>
Regards <br><br><div><span class="gmail_quote">On 4/15/06, <b class="gmail_sendername">Dan Carpenter</b> <<a href="mailto:error27@gmail.com">error27@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 4/14/06, Koree A. Smith <<a href="mailto:koreesmith@gmail.com">koreesmith@gmail.com</a>> wrote:<br>> Hmm.  I helped create a rather large system that does completely<br>> automated and unattended installs without rebuilding anaconda.  What
<br>> does one gain from doing so?<br>><br>> Koree<br>><br><br>You're right of course.  The network route is the correct way to go in<br>many cases.<br><br>My way is still kind of useful if you need a network driver disk and
<br>so you can't get it over the network...  Etc.  I have a bunch of<br>configs like that so I eventually end up patching anaconda for each<br>new redhat release.<br><br>Plus the subject was about putting the drivers in the initrd and I was
<br>trying to spread some anaconda-recompiling-joy.  ;P<br><br>regards,<br>dan carpenter<br><br>_______________________________________________<br>Kickstart-list mailing list<br><a href="mailto:Kickstart-list@redhat.com">
Kickstart-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a><br></blockquote></div><br>