LVM2 volume group in partial mode with physical volumes marked missing even though they are available in RHEL

Solution Verified - Updated -

Issue

  • Couldn't find device with uuid E0x3P2-b3Lf-27sd-FZlR-TdnY-KW1c-fabcde and There are 1 physical volumes missing messages in LVM commands even when the PV for the mentioned UUID is seen available.
  • Attempting to modify a volume group or logical volume fails due to missing devices that are not actually missing:
# lvextend -l+100%PVS /dev/myvg/lv02 /dev/mapper/mpath80
  WARNING: Inconsistent metadata found for VG myvg - updating to use version 89
  Missing device /dev/mapper/mpath73 reappeared, updating metadata for VG myvg to version 89.
  Device still marked missing because of alocated data on it, remove volumes and consider vgreduce --removemissing.
  • Any attempt to change a VG or LV claims PVs are missing:
  Cannot change VG myvg while PVs are missing.
  Consider vgreduce --removemissing.
  • LVM physical volumes are marked with the missing (m) flag in pvs output even though they are healthy and available:
  PV                   VG      Fmt  Attr PSize  PFree 
  /dev/mapper/mpath24 myvg lvm2 a-m  56.20G     0 
  • Volume group is marked as 'partial' and causes lvm commands to fail:
  VG      #PV #LV #SN Attr   VSize VFree  
  myvg     42  10   0 wz-pn- 2.31T 777.11G

Environment

  • Red Hat Enterprise Linux (RHEL) 5 or 6
  • 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.