VMware guest looses access to one or more LVM when device WWIDs enabled in hypervisor for RHEL 9 guest
Issue
-
When running any LVM commands, error seen:
[root@localhost ~]# pvs Devices file PVID xxxxxxxxxxxxxxxxxxxxxxxxxxxxjA2h last seen on /dev/sda not found. Devices file PVID xxxxxxxxxxxxxxxxxxxxxxxxxxxxAwAd 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=/dev/sda DEVNAME=/dev/sda PVID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxjA2h IDTYPE=devname IDNAME=/dev/sdb DEVNAME=/dev/sdb PVID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxAwAd
Environment
- Red Hat Enterprise Linux 9
- LVM2
- use_devicesfile=1 in
/etc/lvm/lvm.conf
(default value in RHEL 9 is '1':enabled)
- use_devicesfile=1 in
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.