aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-04-12 20:47:06 +0000
committerBill Nottingham <notting@redhat.com>2002-04-12 20:47:06 +0000
commit586b0d39acef35025e54eb0be2913c1acf3defa1 (patch)
treee8e83432acfc8fce439e0d9bd1d2652a6981a3fc /rc.d/rc.sysinit
parentab9f5ca68f98a67b177cdd6e434324ae2180c76b (diff)
downloadinitscripts-586b0d39acef35025e54eb0be2913c1acf3defa1.tar
initscripts-586b0d39acef35025e54eb0be2913c1acf3defa1.tar.gz
initscripts-586b0d39acef35025e54eb0be2913c1acf3defa1.tar.bz2
initscripts-586b0d39acef35025e54eb0be2913c1acf3defa1.tar.xz
initscripts-586b0d39acef35025e54eb0be2913c1acf3defa1.zip
do LVM initialization twice (#63238)
Diffstat (limited to 'rc.d/rc.sysinit')
-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