From b4c804d60d6e8361db3f19bf3a2fa6fb58ee8458 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 6 Dec 2010 00:57:58 +0100 Subject: lvm: run vgchange in sysinit mode This avoids problems with lack of rw filesystems. Solves: #FS18153. --- rc.shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.shutdown') 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 -- cgit v1.2.3