[linux-lvm] '/etc/init.d/lvm' script in debian package
adilger at turbolinux.com
Sun Dec 24 05:12:23 UTC 2000
Russel Coker writes:
> # lvm This script handles the LVM startup/shutdown
> # so that LVMs are properly configured and available.
> if [ "0" = `grep -c lvm /proc/devices` ]; then
> exit 0
> [ -f /etc/lvmtab ] || exit 0
> [ -x /sbin/vgscan ] || exit 0
This ^^^^^^ should probably be "vgchange" looking at your script.
> case "$1" in
> echo "Setting up LVM Volume Groups..."
> /sbin/vgchange -a y
> echo "Shutting down LVM Volume Groups... "
> /sbin/vgchange -a n
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
More information about the linux-lvm