[linux-lvm] vgchange -ay at boot?

Theo Van Dinter felicity at kluge.net
Fri Dec 6 12:52:02 UTC 2002

On Fri, Dec 06, 2002 at 12:36:06PM -0600, Alexander Lazarevich wrote:
> complains about trying to mount an unknown device. obviously it cant see
> the device im trying to mount because the volume group is not activated.
> so, i put vgchange -ay homevg in my /etc/rc.local file, but apparently
> that happens after the mounting on bootup, because it still complains
> about non-existant device.
> how do i turn on the volume group before it mounts the devices on bootup?

7.3 has two vgchange commands in rc.sysinit.  It does it once, then
enables MD devices, and does it again.  I mount LVs via fstab all the
time without any issue.

Randomly Generated Tagline:
"If God didn't want us to eat animals, He wouldn't have made them from
 meat." - Neill Carter
-------------- 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/20021206/63d299c5/attachment.sig>

More information about the linux-lvm mailing list