summaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2010-12-06 00:57:58 +0100
committerTom Gundersen <teg@jklm.no>2010-12-06 11:12:58 +0100
commitb4c804d60d6e8361db3f19bf3a2fa6fb58ee8458 (patch)
tree347bedf0f654d2d9bb40c59de15bec825b706c0d /rc.shutdown
parent82d5d1b620f1772bd1d992d671a82395911cbaf4 (diff)
lvm: run vgchange in sysinit mode
This avoids problems with lack of rw filesystems. Solves: #FS18153.
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown2
1 files changed, 1 insertions, 1 deletions
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