Bug#791869: Info received (Output of 'systemctl status' in broken state and just after un-breaking it...)
rbthomas at pobox.com
Mon Jul 20 06:29:17 UTC 2015
On a hunch, I made the following change
> # diff /SAVE/etc/lvm/lvm.conf /etc/lvm/lvm.conf
> < use_lvmetad = 1
> > use_lvmetad = 0
> # update-initramfs -u
Then rebooted. The problem went away…
As I understand it, this makes LVM always check the actual physical volumes to see which PVs are present, rather than relying on the cached information kept by lvmetad. Since lvmetad is not present in the initramfs (and wouldn’t be useful, even if it was) this allows the PVs to be scanned in the initramfs phase, at the cost of having to re-scan them after switching to real-root…
Maybe getting lvmetad into the initramfs, so it can be used there, then doing a strategically placed ‘pvscan —cache’ when switching to real-root, might do the trick?
Hope that helps!
More information about the pkg-lvm-maintainers