aboutsummaryrefslogtreecommitdiff
path: root/functions
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 /functions
parent82d5d1b620f1772bd1d992d671a82395911cbaf4 (diff)
downloadinitscripts-b4c804d60d6e8361db3f19bf3a2fa6fb58ee8458.tar.xz
lvm: run vgchange in sysinit mode
This avoids problems with lack of rw filesystems. Solves: #FS18153.
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 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