Are you guys aware of any command line utility to check physical volume metadata in LVM ? If not, there is one 🙂 .. The binary has been called “pvck“. Its bundled with “lvm2” package in the system.
I believe below snip from my system is self explanatory to show this binary usage.
[root@humbles-lap ~]# rpm -qf /sbin/pvck
[root@humbles-lap ~]# pvck –help
pvck: Check the consistency of physical volume(s)
[root@humbles-lap ~]# pvck /dev/sda7
Found label on /dev/sda7, sector 1, type=LVM2 001
Found text metadata area: offset=4096, size=192512
For further information refer #man pvck