diff options
author | Bill Nottingham <notting@redhat.com> | 2006-11-20 21:28:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-11-20 21:28:59 +0000 |
commit | 04129e68f0374a65cdf3df3b88733581a267613b (patch) | |
tree | 913425ac5255dd25c7bc8eed72cc426a09f0ae35 /rc.d | |
parent | 90b02e5d54a7ca13174ae2e6a98ab943ef098bef (diff) | |
download | initscripts-04129e68f0374a65cdf3df3b88733581a267613b.tar initscripts-04129e68f0374a65cdf3df3b88733581a267613b.tar.gz initscripts-04129e68f0374a65cdf3df3b88733581a267613b.tar.bz2 initscripts-04129e68f0374a65cdf3df3b88733581a267613b.tar.xz initscripts-04129e68f0374a65cdf3df3b88733581a267613b.zip |
- rc.sysinit: don't use vgscan, only use vgchange (#191879)
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index c85174ce..2de7c2e5 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -512,9 +512,7 @@ if [ -c /dev/mapper/control ]; then fi if [ -x /sbin/lvm.static ]; then - if /sbin/lvm.static vgscan --mknodes --ignorelockingfailure > /dev/null 2>&1 ; then action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y --ignorelockingfailure - fi fi fi @@ -573,9 +571,7 @@ if [ -f /etc/mdadm.conf ]; then fi if [ -x /sbin/lvm.static ]; then - if /sbin/lvm.static vgscan > /dev/null 2>&1 ; then - action $"Setting up Logical Volume Management:" /sbin/lvm.static vgscan --mknodes --ignorelockingfailure && /sbin/lvm.static vgchange -a y --ignorelockingfailure - fi + action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y --ignorelockingfailure fi fi fi @@ -676,9 +672,7 @@ if [ -f /etc/raidtab ]; then fi if [ -x /sbin/lvm.static ]; then - if /sbin/lvm.static vgscan > /dev/null 2>&1 ; then - action $"Setting up Logical Volume Management:" /sbin/lvm.static vgscan --mknodes --ignorelockingfailure && /sbin/lvm.static vgchange -a y --ignorelockingfailure - fi + action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y --ignorelockingfailure fi fi fi |