[linux-lvm] vgscan && vgchange -ay at startup

AJ Lewis lewis at sistina.com
Tue Aug 21 12:04:03 UTC 2001


On Tue, Aug 21, 2001 at 01:00:33PM +0200, Ulrich Wiederhold wrote:
> Hello,
> if I reboot, the file /etc/rcS.d/S25lvm failed to find and activate my
> vg.
> I suppose that´s because the shutdown of the vg fails. (Not umounted all
> before?)

Hmm...the shutdown shouldn't matter.  I rarely run vgchange -an on my
systems (I have LVM as root, so there really is no way to do it...)

> Anybody else had this problems with debian unstable?

There's a good chance that your startup script is running either before root
is mounted read/write (in which case the LVM tools can't write to /etc) or
before /proc is mounted (which is less likely because this usually just
makes vgscan really slow, not fail).  Check your init scripts and verify
that root is writable before the S25lvm script runs.

Regards,
-- 
AJ Lewis
Sistina Software Inc.                  Voice:  612-638-0500
1313 5th St SE, Suite 111              Fax:    612-638-0500
Minneapolis, MN 55414                  E-Mail: lewis at sistina.com
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-----End Obligatory Humorous Quote------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20010821/41e39216/attachment.sig>


More information about the linux-lvm mailing list