RHEL 9 ゲストのハイパーバイザーでデバイスの WWID が有効になっている場合、VMware ゲストが 1 つ以上の LVM へのアクセスを失う
Issue
-
LVM コマンドを実行すると、次のエラーが表示されます。
[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.
-
ファイル
/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
/etc/lvm/lvm.conf
で use_devicesfile=1 が設定されている (RHEL 9 のデフォルト値は '1': 有効)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.