aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions2
-rwxr-xr-xrc.shutdown2
2 files changed, 2 insertions, 2 deletions
diff --git a/functions b/functions
index b9ba718..b06d234 100644
--- a/functions
+++ b/functions
@@ -238,7 +238,7 @@ activate_vgs() {
# Kernel 2.6.x, LVM2 groups
/sbin/modprobe -q dm-mod 2>/dev/null
stat_busy "Activating LVM2 groups"
- if /sbin/lvm vgchange --ignorelockingfailure -a y >/dev/null; then
+ if /sbin/vgchange --sysinit -a y >/dev/null; then
stat_done
else
stat_fail
diff --git a/rc.shutdown b/rc.shutdown
index 84003dd..ba4699f 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -81,7 +81,7 @@ fi
if [[ $USELVM =~ yes|YES && -x /sbin/lvm && -d /sys/block ]]; then
stat_busy "Deactivating LVM2 groups"
- /sbin/lvm vgchange --ignorelockingfailure -an >/dev/null 2>&1
+ /sbin/vgchange --sysinit -a n >/dev/null 2>&1
stat_done
fi