centos – LVM disappeared after reboot!
I had an PV, VG, and LV on /dev/sda5
partition. Dealt with some corruption on the filesystem with xfs_repair
until all filesystems were mountable with no errors.
After rebooting the node, the pv,vg,and lvm were all completely gone.
pvdisplay
no results
vgdisplay
no results
lvdisplay
no results.
lsblk
shows type part
for /dev/sda5
(the supposed PV). Meanwhile fdisk
shows type Linux LVM
.
file -s /dev/sda5
outputs data
pvck outputs:
Warning pv_header offset unexpected for first mda
and pv_header.pv_uuid invalid format
Read more here: Source link