RHEL9 lvm2 cannot find imported VG physical volumes.

Solution Verified - Updated -

Issue

  • When trying to import foreign VG’s, while the physical volumes for the VG's are present in lsblk and lsscsi they are not found by LVM2.
  • After the system's OS has been fully reinstalled, LVM is not able to find non-root VGs that should still be present.
  • pvscan --cache reports excluded by devices file (checking PVID).
  • A virtual disk or Raw Device Mapping (RDM) LUN is detached from one server (e.g., RHEL 7 or RHEL 8) and attached to a RHEL 9 server for VM migration, data recovery, or disaster recovery (DR) purposes.
  • LVM commands like pvs, vgs, or lvs silently ignore the newly attached disk and its volume groups, even though blkid lists the partitions with valid TYPE="LVM2_member" signatures and the devices are present in /dev/.

Environment

  • Red Hat Enterprise Linux 8, 9, 10
  • lvm2-2.03.12-10.el8 and later

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