From: Harald Hoyer Date: Wed, 25 Nov 2009 18:51:28 +0000 (+0100) Subject: lvm: scan without monitor X-Git-Tag: 003~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47ab3b6c5e15aa87ab89df416128d6177620e412;p=thirdparty%2Fdracut.git lvm: scan without monitor https://bugzilla.redhat.com/show_bug.cgi?id=540289 --- diff --git a/modules.d/90lvm/lvm_scan.sh b/modules.d/90lvm/lvm_scan.sh index fd21ed79b..73ba84509 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