[linux-lvm] LVM says physical volumes are missing, but they are not

Zdenek Kabelac zkabelac at redhat.com
Mon May 30 08:15:21 UTC 2016


On 29.5.2016 18:50, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> I upgraded last night to Ubuntu 16.04, and LVM has ( even when booting
> back into 15.10 ) decided that two of my three physical volumes are
> missing, but they are not:
>
> psusi at faldara:~$ sudo pvs
>   PV         VG      Fmt  Attr PSize   PFree
>   /dev/md0   faldara lvm2 a-m  101.91g  58.91g
>   /dev/md1   faldara lvm2 a-m    1.69t 264.86g
>   /dev/sdb1  faldara lvm2 a--    1.82t   1.81t
> psusi at faldara:~$ sudo vgchange -ay
>   Refusing activation of partial LV faldara/Music.  Use
> '--activationmode partial' to override.
>   Refusing activation of partial LV faldara/Videos.  Use
> '--activationmode partial' to override.
>   Refusing activation of partial LV faldara/swap.  Use
> '--activationmode partial' to override.
>   Refusing activation of partial LV faldara/trusty-old.  Use
> '--activationmode partial' to override.
>   Refusing activation of partial LV faldara/vivid.  Use
> '--activationmode partial' to override.
>   Refusing activation of partial LV faldara/pool0.  Use
> '--activationmode partial' to override.
>   Refusing activation of partial LV faldara/xenial.  Use
> '--activationmode partial' to override.
>   6 logical volume(s) in volume group "faldara" now active
>
> If I use --activationmode partial, then all volumes are correctly
> mapped, with no missing extents:

Hi

Please provide full 'vgchage -ay -vvvv' trace of such activation command.

Also specify which version of lvm2 is in use by your distro.

Regards

Zdenek




More information about the linux-lvm mailing list