From 586b0d39acef35025e54eb0be2913c1acf3defa1 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 12 Apr 2002 20:47:06 +0000 Subject: do LVM initialization twice (#63238) --- rc.d/rc.sysinit | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rc.d') 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 -- cgit v1.2.1