Use vgchange --sysinit
authorPeter Hjalmarsson <xake@rymdraket.net>
Thu, 20 Jan 2011 00:48:37 +0000 (01:48 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Mon, 31 Jan 2011 11:40:08 +0000 (12:40 +0100)
Turns off unnecessary stuff, and makes the command look cleaner

defaults/initrd.scripts

index d0f8de5e2b70fbe8a0f673406e81b39d88f4a9ff..9a5e812258d835e45848609ebb628792e4fcd922 100755 (executable)
@@ -642,7 +642,7 @@ startVolumes() {
                        good_msg "Scanning for Volume Groups"
                        /bin/vgscan --ignorelockingfailure --mknodes 2>/dev/null
                        good_msg "Activating Volume Groups"
-                       /bin/vgchange -ay --ignorelockingfailure 2>/dev/null
+                       /bin/vgchange -ay --sysinit 2>/dev/null
 
                        # Disable EVMS since lvm is activated and they dont work together.
                        if [ "${USE_EVMS_NORMAL}" = '1' ]