How do I restore a volume group in Red Hat Enterprise Linux if one of the physical volumes that constitute the volume group has failed?
Issue
- How to restore a volume group and its logical volumes after a disk (physical volume) that the logical volume was using has failed or the volume has become corrupted or was overwritten?
- We have strange behavior on a RHEL 6.5 server. The SAN based filesystems (
/dev/mapper/VolGroupXX*
) are mounted, and they are readable and writable. But when I executepvs
,vgs
,lvs
,pvscan
,vgscan
andlvscan
. I don't see any PVs, VGs or LVs related toVolGroupXX*
. Only withmultipath -ll
anddmsetup ls --tree
commands I see references to theVolGroupXX*
. unknown device
error inpvs
output but disks are showing in multipath
Environment
- Red Hat Enterprise Linux (RHEL) 4, 5, 6, 7
- LVM2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.