[linux-lvm] vgchange -ay at boot?

Alexander Lazarevich alazarev at hera.itg.uiuc.edu
Fri Dec 6 12:43:02 UTC 2002

sorry for the post, i figured it out. i just put the mount's into rc.local
and it works now. im sure there is another way to do it. if anyone knows
of a better way, id like to know?



On Fri, 6 Dec 2002, Alexander Lazarevich wrote:

> ive got lvm install on a redhat linux 7.3 system. the LV's totally work,
> except i always have to mount them after bootup. id like to be able to put
> the mounts into /etc/fstab, but when i do, the kernel can't boot and
> 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?
> thanks in advance!
> alex
> ---                                                        ---
>    Alex Lazarevich | Systems | Imaging Technology Group
>    alazarev at itg.uiuc.edu | (217)244-1565 | www.itg.uiuc.edu
> ---                                                        ---
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

More information about the linux-lvm mailing list