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 aaaaaa-aaaa-aaaa-aaaa-aaaa-aaaa-aaaaaa 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:

    # pvs
      PV          VG            Fmt  Attr PSize    PFree   DevSize
      /dev/dev_a  vg_name       lvm2 a--  1019.75g  30.88g 1019.75g
      /dev/dev_b  vg_name       lvm2 a-m   299.92g 189.92g  299.92g <===
    
  • 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, 6, 7, and 8
  • lvm2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content