ストレージの移動/コピー/移行により、"Devices file sys_wwid <wwid> last seen on <devnode> not found" エラーが発生する
Issue
-
LVMが使用するストレージデバイスにおいて、ストレージレベルで (pvmove以外で) ディスク上のデータが新しいディスクに移動、移行、またはクローンされ、WWIDが変更された場合、その操作後またはシステムの再起動後にVGがアクティベートされない可能性があります。 -
LVM
system.devicesキャッシュファイルを使用している際に、デバイスの不一致に関する "not found" および "not matched" というエラーが、あらゆる LVM コマンドで出力されます。
devices entry /dev/sdb xxxxxxxxxxxxxxxxxxxxxxxxxxxxeMWc devname found but not matched Match device_id sys_wwid naa.6000xxxxxxxxxxxxxxxxxxxxxxxxx123 to /dev/sda Match device_id sys_wwid naa.6000xxxxxxxxxxxxxxxxxxxxxxxxx456 to /dev/sdd Devices file PVID xxxxxxxxxxxxxxxxxxxxxxxxxxxxQh2Y last seen on /dev/sdb not found. Devices file PVID xxxxxxxxxxxxxxxxxxxxxxxxxxxxwbRY last seen on /dev/sdc not found. .
/etc/lvm/devices/system.devicesLVM キャッシュファイルには、新しいディスクの WWID ではなく、古い以前の WWID 値が引き続き含まれています。
# 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=sys_wwid IDNAME=naa.6000xxxxxxxxxxxxx-old-disks-wwid DEVNAME=/dev/sdb PVID=xxx...xxxxQh2Y IDTYPE=sys_wwid IDNAME=naa.6000xxxxxxxx-previous-disks-wwid DEVNAME=/dev/sdc PVID=xxx...xxxxwbRY
Environment
- Red Hat Enterprise Linux 8、9、10
- use_devicesfile が有効になっている LVM2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.