Extracting LVM metadata backups from a physical volume
Updated
You can extract LVM metadata from a wiped off LVM physical volume so that Red Hat support can recover the volume using the backups.
Prerequisites
- The
lvm2package is installed.
Procedure
-
Check the headers on the physical volume.
# pvck --dump headers /dev/sda1 -
Search for volume group metadata that corresponds with the volume group you want to recover.
# pvck --dump metadata_search -v /dev/sda1 -
Extract the instance of metadata you need for recovery and save it to a file.
# pvck --dump metadata_search \ --settings metadata_offset=yourinstance \ -f file /dev/sda1
Additional resources
- The
pvck(8)man page.
SBR
Product(s)
Category
Components
Article Type