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
lvm2-2.02.84-2.fc14.x86_64
[root@humbles-lap ~]# pvck –help
pvck: Check the consistency of physical volume(s)
pvck [-d|–debug]
[-h|–help]
[–labelsector sector]
[-v|–verbose]
[–version]
PhysicalVolume [PhysicalVolume…]
[root@humbles-lap ~]#
[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