RHEL 9 で IDTYPE=devname の LVM メッセージ "Devices file PVID <ID> last seen on /dev/sda not found" が表示される
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.
Devices file PVID xxxxxxxxxxxxxxxxxxxxxxxxxxxxfRWY last seen on /dev/sda not found.
Devices file PVID xxxxxxxxxxxxxxxxxxxxxxxxxxxxKDtC last seen on /dev/sda 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/sda2 DEVNAME=/dev/sdb PVID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxjhW7
IDTYPE=sys_wwid IDNAME=naa.6000xxxxxxxxxxxxxxxxxxxxxxxxxxxx DEVNAME=/dev/sdd PVID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxKUE9
IDTYPE=sys_wwid IDNAME=naa.6000xxxxxxxxxxxxxxxxxxxxxxxxxxxx DEVNAME=/dev/sdc PVID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxvBOq
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.