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?

Solution Unverified - Updated -

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 a strange behaviour on a RHEL 6.5 server. The SAN based filesystems (/dev/mapper/VolGroupXX*) are mounted, and they are readable and writable. But when I execute pvs ,vgs ,lvs ,pvscan ,vgscan and lvscan. I don't see any PVs, VGs or LVs related to VolGroupXX*. Only with multipath -ll and dmsetup ls --tree commands I see references to the VolGroupXX*.
  • unknown device error in pvs output but disks are showing in multipath

Environment

  • Red Hat Enterprise Linux (RHEL) 4
  • Red Hat Enterprise Linux (RHEL) 5
  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 7
  • LVM2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.