[linux-lvm] LVM says physical volumes are missing, but they are not
psusi at ubuntu.com
Mon May 30 19:53:18 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
On 05/30/2016 04:15 AM, Zdenek Kabelac wrote:
> Please provide full 'vgchage -ay -vvvv' trace of such activation
> Also specify which version of lvm2 is in use by your distro.
2.02.133-1ubuntu10. I ended up fixing it by doing a vgcfgbackup,
manually editing the text file to remove the MISSING flags, and then
vgcfgrestore. My guess is that when I initially installed 16.04, I
forgot to install mdadm, and so the init scripts must have forced a
partial activation without the raid pvs present, and that set the
MISSING flag on those pvs in the metadata on the remaining drive.
Once set, there appears to be no way to remedy this other than what I
ended up doing. It seems to me that having the volume actually
present should override the MISSING flag in the metadata, or at least
you should be able to clear the flag with pvchange.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----
More information about the linux-lvm