This problem went away when I added udev_log="debug" to
/etc/udev/udev.conf and ran update-initramfs -u. (Aside: someone more
knowledgeable please update the advice on
https://wiki.ubuntu.com/DebuggingLvm.)

Here is an almost-minimal sequence:

1) do a fresh install.
2) reboot into the new system. The problem occurs. Type "vgchange -ay; exit" at 
the (initramfs) prompt.
3) log in and apply the fix for #1467151. Without this, /boot is not available 
and I can't update-initramfs. (For a truly minimal sequence I should roll an 
updated udev package, so the fix would be applied in step 1 instead.)
4) reboot. The problem occurs again.
5) log in and run "update-initramfs -u".
6) reboot. The problem is gone.

Conclusion: this looks like a debian-installer issue. Some excerpts from
/var/log/installer/syslog:

Jun 20 19:26:38 in-target: Setting up linux-image-3.19.0-22-generic 
(3.19.0-22.22) ...
Jun 20 19:26:38 in-target: Running depmod.
Jun 20 19:26:40 in-target: update-initramfs: deferring update (hook will be 
called later)
[...]
Jun 20 19:26:40 in-target: update-initramfs: Generating 
/boot/initrd.img-3.19.0-22-generic
[...]
Jun 20 19:27:17 in-target: Unpacking watershed (7) ...
Jun 20 19:27:17 in-target: Selecting previously unselected package lvm2.
Jun 20 19:27:17 in-target: Preparing to unpack 
.../lvm2_2.02.111-2ubuntu1_i386.deb ...
Jun 20 19:27:17 in-target: Unpacking lvm2 (2.02.111-2ubuntu1) ...
[...]
Jun 20 19:27:18 in-target: Setting up watershed (7) ...
Jun 20 19:27:18 in-target: update-initramfs: deferring update (trigger 
activated)
Jun 20 19:27:18 in-target: Setting up liblvm2cmd2.02:i386 (2.02.111-2ubuntu1) 
...
Jun 20 19:27:19 in-target: Setting up dmeventd (2:1.02.90-2ubuntu1) ...
Jun 20 19:27:20 in-target: Setting up lvm2 (2.02.111-2ubuntu1) ...
Jun 20 19:27:20 in-target: update-initramfs: deferring update (trigger 
activated)
[...]
Jun 20 19:27:22 in-target: Processing triggers for initramfs-tools 
(0.103ubuntu15) ...
Jun 20 19:27:22 in-target: update-initramfs: Generating 
/boot/initrd.img-3.19.0-22-generic
[...]
Jun 20 19:27:42 in-target: update-initramfs: Generating 
/boot/initrd.img-3.19.0-22-generic
[...]
Jun 20 19:35:48 pkgsel: finishing up
Jun 20 19:35:48 net/hw-detect.hotplug: Detected hotpluggable network interface 
eth0
Jun 20 19:35:48 net/hw-detect.hotplug: Detected hotpluggable network interface 
lo
Jun 20 19:36:06 main-menu[198]: (process:9551): update-initramfs: Generating 
/boot/initrd.img-3.19.0-22-generic
Jun 20 19:36:07 main-menu[198]: DEBUG: resolver (libgcc1): package doesn't 
exist (ignored)
Jun 20 19:36:08 main-menu[198]: INFO: Menu item 'grub-installer' selected
Jun 20 19:36:08 grub-installer: info: architecture: i386/generic
Jun 20 19:36:08 grub-installer: info: Mounting /proc into /target
[...]
Jun 20 19:37:16 finish-install: info: Running 
/usr/lib/finish-install.d/10update-initramfs
[...]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1467153

Title:
  LVM VG not activated at boot, no snapshots used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1467153/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to