touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #85447
[Bug 1467153] Re: LVM VG not activated at boot, no snapshots used
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
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1467153
Title:
LVM VG not activated at boot, no snapshots used
Status in lvm2 package in Ubuntu:
New
Bug description:
The symptoms for this bug are very similar to those of #1396213:
booting (a freshly installed wily VM) drops me to the (initramfs)
prompt because the root filesystem (root=/dev/mapper/VG-root) cannot
be found. Typing "vgchange -a y; exit" at the (initramfs) prompt
allows the boot to continue normally.
The reason I'm filing a separate bug is that the discussion of
#1396213 blames the problem on LVM snapshots and my setup does not
have a snapshot: it happens on a system freshly installed using d-i,
on the first reboot after installation (and on all subsequent reboots
so far). As a result, I am not sure the root cause is the same.
I've tried rootdelay=120 but that did not help.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: lvm2 2.02.111-2ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1
Uname: Linux 3.19.0-22-generic i686
ApportVersion: 2.17.3-0ubuntu4
Architecture: i386
Date: Sat Jun 20 19:53:02 2015
SourcePackage: lvm2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1467153/+subscriptions
References