Comment 22 for bug 147216

Revision history for this message
SC46 (sc46) wrote :

I believe I'm seeing this as well, with a new install of Ubuntu 13.04. I installed to a new LVM root on a machine, and on startup it can't find the root partition to mount.

In the recovery shell, I could type "lvm vgchange -a y"

the udev rules aren't helping me, so I changed /usr/share/initramfs-tools/scripts/init-premount/lvm2 to do a vgchange in addition to a vgscan.

--- lvm2.orig 2013-06-04 08:12:12.826097349 -0500
+++ lvm2 2013-06-04 08:11:50.429987991 -0500
@@ -10,6 +10,8 @@

 mountroot_fail()
 {
+ /sbin/lvm vgscan >/dev/null 2>&1
+ /sbin/lvm vgchange -a y
  if ! /sbin/lvm vgscan >/dev/null 2>&1 ; then
   cat <<EOF
 There appears to be one or more degraded LVM volumes, and your root device may