summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-11-25 19:51:28 +0100
committerHarald Hoyer <harald@redhat.com>2009-11-25 19:55:17 +0100
commit47ab3b6c5e15aa87ab89df416128d6177620e412 (patch)
tree9fde6e63e8689f1d8d875de7a096c9180bbb9cde
parentc761b26aef576bcf45cedeb304e633e741e1e5a2 (diff)
lvm: scan without monitor
https://bugzilla.redhat.com/show_bug.cgi?id=540289
-rwxr-xr-xmodules.d/90lvm/lvm_scan.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/90lvm/lvm_scan.sh b/modules.d/90lvm/lvm_scan.sh
index fd21ed7..73ba845 100755
--- a/modules.d/90lvm/lvm_scan.sh
+++ b/modules.d/90lvm/lvm_scan.sh
@@ -30,7 +30,7 @@ if [ ! -e /etc/lvm/lvm.conf ]; then
fi
info "Scanning devices $lvmdevs for LVM volume groups $VGS"
lvm vgscan 2>&1 | vinfo
-lvm vgchange -ay $VGS 2>&1 | vinfo
+lvm vgchange -ay --monitor n $VGS 2>&1 | vinfo
if [ "$lvmwritten" ]; then
rm -f /etc/lvm/lvm.conf
ln -s /sbin/lvm-cleanup /pre-pivot/30-lvm-cleanup.sh 2>/dev/null