[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM Boot = /sbin/modprobe: error while loading shared libraries: libzso.1



On Thu, Dec 27, 2001 at 07:32:17PM -0000, Ben Holness wrote:
> I also had a look at the man page for initrd and noticed that there is
> a --fstab option, which I might need to use, as my current setup is as
> follows:

yes, sorry, i should have mentioned it
.....
> Configuring LVM
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> vgscan -- WARNING: This program does not do a VGDA backup of your volume
> group
> 
> vgchange -- no volume groups found
> 
ugh,
try modifying /sbin/mkinitrd 

where it says

if [ -n "$lvmroot" ]; then
	INITRDFILES="/sbin/vgchange /sbin/vgscan"
	cp -aL /sbin/vgchange $MNTIMAGE/sbin
	cp -aL /sbin/vgscan $MNTIMAGE/sbin
fi

change to

if [ -n "$lvmroot" ]; then
	INITRDFILES="/sbin/vgchange /sbin/vgscan /sbin/lvmdiskscan"
	cp -aL /sbin/vgchange $MNTIMAGE/sbin
	cp -aL /sbin/vgscan $MNTIMAGE/sbin
	cp -aL /sbin/lvmdiskscan $MNTIMAGE/sbin
fi

and where is:

if [ -n "$lvmroot" ]; then
    echo "echo Configuring LVM" >> $RCFILE
    echo "/sbin/vgscan" >> $RCFILE
    echo "/sbin/vgchange -a y" >> $RCFILE
    IMAGESIZE=$[IMAGESIZE + 4096]
fi

change to:

if [ -n "$lvmroot" ]; then
    echo "echo Configuring LVM" >> $RCFILE
    echo "/sbin/lvmdiskscan" >> $RCFILE
    echo "/sbin/vgscan" >> $RCFILE
    echo "/sbin/vgchange -a y" >> $RCFILE
    IMAGESIZE=$[IMAGESIZE + 4096]
fi

then we compare output of lvmdiskscan run on your system

L.


-- 
Luca Berra -- bluca comedia it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]