]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
add noudevsync to vgchange to avoid lockups (it never completes)
authorElan Ruusamäe <glen@delfi.ee>
Tue, 24 Dec 2013 10:51:32 +0000 (12:51 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 24 Dec 2013 10:51:32 +0000 (12:51 +0200)
mod-lvm.sh

index 781b2bb2a330e7f590631427c4cd949fdab42cb6..72a2e71eb9c09a0f04eaec6178d846790ca66579 100644 (file)
@@ -237,12 +237,13 @@ initrd_gen_lvm() {
                        fi
 
                        export LVM_SYSTEM_DIR=/tmp
+
                        : 'Scanning for Volume Groups'
                        lvm.static vgscan --mknodes --ignorelockingfailure
 
                        : 'Activating Volume Groups'
                        for vol in $LVM_VGVOLUMES; do
-                               lvm.static vgchange --ignorelockingfailure -a y $vol
+                               lvm.static vgchange --ignorelockingfailure -a y $vol --noudevsync
                        done
 
                        : 'Extra call to make device nodes for non lvm2-initrd (dynamic lvm2)'
This page took 0.411282 seconds and 4 git commands to generate.