> Send submissions to > ataraid-list@xxxxxxxxxx > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.redhat.com/mailman/listinfo/ataraid-list > or, via email, send a message with subject or body 'help' to > ataraid-list-request@xxxxxxxxxx > > You can reach the person managing the list at > ataraid-list-owner@xxxxxxxxxx > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ataraid-list digest..." > > > Today's Topics: > > 1. Improved mkinitrd2 patch for FC4 (James Olson) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 24 Jan 2006 08:26:44 -0500 > From: "James Olson" <big_spender12@xxxxxxxxx> > Subject: Improved mkinitrd2 patch for FC4 > To: ataraid-list@xxxxxxxxxx > Message-ID: <20060124132644.C2CCB86B12@xxxxxxxxxxxxxxxxxxxxxx> > Content-Type: text/plain; charset="iso-8859-1" > > Here is my improved (but still not perfect) patch to the /sbin/mkinitrd > script so that you can use mkinitrd2 to create an initial ramdisk to boot > Fedora Core 4 using dmraid. I found out > that if you don't have any drives that are using lvm it didn't set up > the device mapper properly so added the root_lvm=1 line. > > # diff -Naur mkinitrd mkinitrd2 > --- mkinitrd 2005-05-17 15:03:33.000000000 -0700 > +++ mkinitrd2 2006-01-16 02:18:46.000000000 -0800 > @@ -423,6 +423,7 @@ > dmout=$(/sbin/dmsetup ls 2>/dev/null) > if [ "$dmout" != "No devices found" -a "$dmout" != "" ]; then > findmodule -dm-mod > + root_lvm=1 > fi > fi > fi > @@ -587,6 +588,7 @@ > > inst /sbin/nash "$MNTIMAGE/bin/nash" > inst /sbin/insmod.static "$MNTIMAGE/bin/insmod" > +inst /sbin/dmraid.static "$MNTIMAGE/bin/dmraid" > ln -s /sbin/nash $MNTIMAGE/sbin/modprobe > > if [ -n "$USE_UDEV" ]; then > @@ -734,6 +736,8 @@ > else > echo "echo Making device-mapper control node" >> $RCFILE > echo "mkdmnod" >> $RCFILE > + echo "echo Activating dmraid" >> $RCFILE > + echo "dmraid -ay --ignorelocking" >> $RCFILE > echo "echo Scanning logical volumes" >> $RCFILE > echo "lvm vgscan --ignorelockingfailure" >> $RCFILE > echo "echo Activating logical volumes" >> $RCFILE > > > -- > _______________________________________________ > > Search for businesses by name, location, or phone number. -Lycos Yellow Pages > > http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 > > > > > ------------------------------ > > _______________________________________________ > > Ataraid-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/ataraid-list > > End of Ataraid-list Digest, Vol 23, Issue 5 > ******************************************* > Thanks a lot for all theses scripts, but what can I do when "deseperate", i've made an install of FC4, on a SATA Raid Array (Bios Mode) and dmraid saw only /dev/mapper/xxxxxxxxx (i don't remember the exact name), to boot on the complete Raid Array (I love mirroring for my precious files)? Best Regards Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34 ?/mn) ; tél : 08 92 68 13 50 (0,34?/mn) _______________________________________________ Ataraid-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ataraid-list