[linux-lvm] mounting lv's from fstab
boutilpj at ednet.ns.ca
Tue Apr 25 09:28:12 UTC 2000
I just put the vgchange command in /etc/rc.d/rc.sysinit just before the
# Load modules (for backward compatibility with VARs)
if [ -f /etc/rc.d/rc.modules ]; then
/sbin/vgchange -a y
# Add raid devices
if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
echo -n "Starting up RAID devices: "
> I put all my logical volumes in /etc/fstab but it doesnt work
> Everytime i restart my machine i have to manually activate my volume
> group by typing vgchange -a y archive.
> Is there a way of automatically doing this with lvm or would i have to
> write an init script ?
> Glenn McGrath
More information about the linux-lvm