]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
lvm: scan without monitor
authorHarald Hoyer <harald@redhat.com>
Wed, 25 Nov 2009 18:51:28 +0000 (19:51 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 25 Nov 2009 18:55:17 +0000 (19:55 +0100)
https://bugzilla.redhat.com/show_bug.cgi?id=540289

modules.d/90lvm/lvm_scan.sh

index fd21ed79b7dd1459927936ee08957b48a55da1db..73ba84509bb1ebb927c92c71096f3dacf995e531 100755 (executable)
@@ -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