From: Steven Lembark <lembark@wrkhors.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Getting LVM to startup on RedHat
Date: Sat, 17 Mar 2001 18:11:17 -0600 [thread overview]
Message-ID: <3AB3FD25.641D51D5@wrkhors.com> (raw)
In-Reply-To: Pine.LNX.4.33.0103171814270.19966-100000@bugs.home.shadowstar.net
> I've compiled kernel 2.2.17+LVM-0.9 patches on a RedHat 6.2 machine. If I
> run
>
> vgscan
> vgchange -ay
> mount /dev/malepages/data /data
>
> at a command prompt, all works well. However, if I include
>
> /usr/sbin/vgscan
> /usr/sbin/vgchange -ay
>
> (exactly as above) in my /etc/rc.d/rc.sysinit the commands don't seem to
> be run at reboot. After the reboot, I can run the vgchange and mount
> commands without first doing a vgscan without incident.
>
> Any ideas what could be going on?
congenital defect in the lvm. you might want to schedule it
post-boot in /etc/rc.d/rc1.d. i've nearly given up on the
entire LVM due to the vgscan-at-startup requirement. to
speed things up you can use
( /usr/sbin/vgscan && /usr/sbin/vgchange -a -y ) &
to background the whole thing. problem there is that you
will have problems mounting things -- can't use mount -a
to get them if lvm startup isn't in /etc/rc.d/rc.sysinit
but probably don't want anything this tricky in there at
all.
other fix is to put the mounts directly into an lvm init.d
file and live with hard-coding them, write your own version
of /etc/fstab to mount the lvm's... none of which are
very pretty.
--
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
lembark@wrkhors.com 800-762-1582
next prev parent reply other threads:[~2001-03-18 0:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-17 23:19 [linux-lvm] Getting LVM to startup on RedHat Alec Smith
2001-03-18 0:11 ` Steven Lembark [this message]
2001-03-19 7:39 ` Dirk Heinrichs
-- strict thread matches above, loose matches on Subject: below --
2001-03-17 23:59 hail narcissus
2001-03-18 8:22 ` Alec Smith
2001-03-18 8:52 ` Steven Lembark
2001-03-18 0:30 S. Michael Denton
2001-03-18 2:17 ` Steven Lembark
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=3AB3FD25.641D51D5@wrkhors.com \
--to=lembark@wrkhors.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.