From: Theo Van Dinter <felicity@kluge.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LVM Redhat 7.2 : Volume Group not activated on boot
Date: Mon Feb 11 19:59:02 2002 [thread overview]
Message-ID: <20020211210448.B26850@kluge.net> (raw)
In-Reply-To: <3C686693.2060007@miracleas.dk>; from peter.gram@miracleas.dk on Tue, Feb 12, 2002 at 01:49:23AM +0100
On Tue, Feb 12, 2002 at 01:49:23AM +0100, Peter Gram wrote:
> # LVM initialization
> if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then
> action $"Setting up Logical Volume Management:" /sbin/vgscan &&
> /sbin/vgchange -a y
> fi
The problem is the first part of the if statement. /proc/lvm doesn't exist
unless the lvm-mod module is loaded, and that doesn't happen by default.
On my RH7.2 box, I make initrd's with the "--with=lvm-mod" option so that
initrd forcably loads lvm-mod at bootup. /proc/lvm then exists, and the
vgchange command is executed. :)
--
Randomly Generated Tagline:
"We all know engineers are way better than doctors because doctors can
only kill people one at a time while engineers can send 600 to a 1000
people screaming into Mt. Rushmore at 300 to 400 knots." - Unknown
prev parent reply other threads:[~2002-02-11 19:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-11 18:48 [linux-lvm] LVM Redhat 7.2 : Volume Group not activated on boot Peter Gram
2002-02-11 19:59 ` Theo Van Dinter [this message]
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=20020211210448.B26850@kluge.net \
--to=felicity@kluge.net \
--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