boot-devfunctions.sh: Call vgchange with --partial --sysinit
authorDong Mao Zhang <dmzhang@suse.com>
Thu, 19 Jul 2012 09:09:54 +0000 (11:09 +0200)
committerMichal Marek <mmarek@suse.cz>
Thu, 19 Jul 2012 09:11:01 +0000 (11:11 +0200)
commit042c07409c3646df2df18a124e99841339687566
tree00af8b54144a0275ab7870760f3f61ff2a8897a9
parentef75eac10fcdee0185b5cea81bd0a7447f458cfe
boot-devfunctions.sh: Call vgchange with --partial --sysinit

lvm could use mirrored devices, such as /dev/mapper/system-root use
/dev/sda and /dev/sdb as mirror, if one of the devices were broken,
normal vgchange would report error.

Use --partial to ignore the error, make sure the system could boot up
successfully.

References: bnc#731317
Signed-off-by: Michal Marek <mmarek@suse.cz>
mkinitrd.changes
scripts/boot-devfunctions.sh