My Oracle Support Banner

Missing PV Metadata Restoration (Doc ID 2214251.1)

Last updated on MAY 04, 2020

Applies to:

Linux OS - Version Oracle Linux 6.7 with Unbreakable Enterprise Kernel [3.8.13] and later
Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.


The pvs command throws an error as the physical volume information is missing and the corresponding lv will not be usable until we restore the pv metadata.

The following outputs show the issue:

As per the pvs out we can a see a flag /attribute M ( a-m) which means the pv's metadata is missing.

root@<HOST>]#pvs -a -v
DEGRADED MODE. Incomplete RAID LVs will be processed.
Wiping cache of LVM-capable devices
There are 1 physical volumes missing. =====>>> 1 PV is missing.
There are 1 physical volumes missing.
Problematic pv:
/dev/xvdh1 vg_<VG_NAME> lvm2 a-m 50.00g 0 50.00g 89Zamn-ZUk1-GSa0-kw1o-UvC5-XXXX-eoP4Ma
Other pv:
/dev/xvdc1 vg_<VG_NAME> lvm2 a-- 150.00g 0 150.00g 1dzwey-OXIF-ocvT-WPUe-eRCX-XXXX-ZxMWuG
/dev/xvdi1 vg_<VG_NAME> lvm2 a-- 39.99g 19.99g 39.99g h7wI2M-7XKN-VFl4-KrKs-nMAk-XXXX-ABZwNs
pvdisplay -m will show us which lv are using this PV.
-- Physical volume ---
PV Name /dev/xvdh1
VG Name vg_<VG_NAME>
PV Size 50.00 GiB / not usable 3.31 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 12799
Free PE 0
Allocated PE 12799
PV UUID 89Zamn-ZUk1-GSa0-kw1o-UvC5-XXXX-eoP4Ma
--- Physical Segments ---
Physical extent 0 to 12798:
Logical volume /dev/vg_<VG_NAME>/<LV_NAME>
Logical extents 0 to 12798





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.