Linux LVM users
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LVM Boot = /sbin/modprobe: error while loading shared libraries: libzso.1
Date: Thu Dec 27 18:13:01 2001	[thread overview]
Message-ID: <20011228011524.C27880@colombina.comedia.it> (raw)
In-Reply-To: <000001c18f0d$32835860$0b00a8c0@homelan.org>; from ben@bens-house.org.uk on Thu, Dec 27, 2001 at 07:32:17PM -0000

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
 / \

  reply	other threads:[~2001-12-27 18:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-25 22:01 [linux-lvm] LVM Boot = /sbin/modprobe: error while loading shared libraries: libzso.1 Ben Holness
2001-12-26  3:56 ` Luca Berra
2001-12-26  5:22   ` Ben Holness
2001-12-26 16:47     ` Luca Berra
2001-12-26 17:36       ` Ben Holness
2001-12-26 19:28         ` Ben Holness
2001-12-27  1:43           ` Luca Berra
2001-12-27 13:29             ` Ben Holness
2001-12-27 18:13               ` Luca Berra [this message]
2001-12-27 19:34                 ` Steven Lembark
2001-12-28  4:47                 ` Ben Holness

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011228011524.C27880@colombina.comedia.it \
    --to=bluca@comedia.it \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox