aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 03eddb19..f2fb0179 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -541,6 +541,11 @@ if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
fi
fi
+# LVM initialization, take 2 (it could be on top of RAID)
+if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then
+ action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y
+fi
+
_RUN_QUOTACHECK=0
# Check filesystems
if [ -z "$fastboot" ]; then