LVM messages "Devices file PVID <ID> last seen on /dev/sda not found" in RHEL for IDTYPE=.

Solution Verified - Updated -

Issue

  • VGXX was missing PVID while device was available on system
  • pvscan command showed following

    devices entry /dev/sdb xxxxxxxxxxxxxxxxxxxxxxxxxxxxeMWc devname found but not matched
    Match device_id sys_wwid naa.6000xxxxxxxxxxxxxxxxxxxxxxxxx123 to /dev/sdd
    Match device_id sys_wwid naa.6000xxxxxxxxxxxxxxxxxxxxxxxxx456 to /dev/sdc
    Devices file PVID xxxxxxxxxxxxxxxxxxxxxxxxxxxxeMWc last seen on /dev/sdb not found.
    
  • The Following entries were present in the file /etc/lvm/devices/system.devices.


# cat etc/lvm/devices/system.devices 
# LVM uses devices listed in this file.
# Created by LVM command vgs pid 1468 at Sun Jun 11 23:38:02 2023
VERSION=1.1.10
IDTYPE=devname IDNAME=. DEVNAME=/dev/sdb     PVID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxeMWc
IDTYPE=sys_wwid IDNAME=naa.6000xxxxxxxxxxxxxxxxxxxxxxxxx123 DEVNAME=/dev/sdd PVID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxQhbR
IDTYPE=sys_wwid IDNAME=naa.6000xxxxxxxxxxxxxxxxxxxxxxxxx456 DEVNAME=/dev/sdc PVID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxw52Y

Environment

  • Red Hat Enterprise Linux 8, 9, 10
  • LVM2 with use_devicesfile enabled

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