'Inconsistent metadata found for VG [vgname] - updating to use version [ver.no.]' と 'Missing device /dev/[device_name] reappeared, updating metadata for VG [vgname] to version [ver.no.]' エラーが発生する
Issue
-
次のようなエラーが lvm コマンドの出力に表示されます (バージョン番号は時間とともに増加し続け、頻繁に数百または数千に達することもあります)。
WARNING: Inconsistent metadata found for VG vg00 - updating to use version 33 WARNING: Volume Group vg00 is not consistent. WARNING: Inconsistent metadata found for VG vg01 - updating to use version 5162 WARNING: Volume Group vg01 is not consistent. WARNING: Inconsistent metadata found for VG vg02 - updating to use version 348 WARNING: Volume Group vg02 is not consistent.
-
場合によっては、デバイスが不明としてマークされ、上記のエラーに次のものが付随することがあります。
Couldn't find device with uuid aaaaaa-aaaa-aaaa-aaaa-aaaa-aaaa-aaaaaa. Couldn't find device with uuid bbbbbb-bbbb-bbbb-bbbb-bbbb-bbbb-bbbbbb. Couldn't find device with uuid cccccc-cccc-cccc-cccc-cccc-cccc-cccccc. Couldn't find device with uuid dddddd-dddd-dddd-dddd-dddd-dddd-dddddd. Missing device /dev/mapper/mpathb reappeared, updating metadata for VG vg00 to version 1029. Device still marked missing because of allocated data on it, remove volumes and consider vgreduce --removemissing. Missing device /dev/mapper/mpathc reappeared, updating metadata for VG vg01 to version 1029. Device still marked missing because of allocated data on it, remove volumes and consider vgreduce --removemissing. Missing device /dev/mapper/mpathd reappeared, updating metadata for VG vg03 to version 1029. Device still marked missing because of allocated data on it, remove volumes and consider vgreduce --removemissing.
-
pvmove 操作と並行して問題が発生した場合、pvmove が失敗することがあります。pvmove をフォアグラウンドで (つまり、-b オプションなしで) 実行した場合に、メタデータの変更によって PV が見つからないとマークされた場合は、pvmove が失敗すると次のようなメッセージが表示されることがあります。
-
Red Hat Enterprise Linux 6 の場合
# pvmove --atomic /dev/mapper/mpatha /dev/mapper/mpathb /dev/mapper/mpatha: Moved: 0,0% WARNING: Inconsistent metadata found for VG vg00 - updating to use version 341 Missing device /dev/mapper/mpathb reappeared, updating metadata for VG vg00 to version 341. Device still marked missing because of allocated data on it, remove volumes and consider vgreduce --removemissing. Cannot change VG testvg while PVs are missing. Consider vgreduce --removemissing. ABORTING: Can't reread VG for /dev/mapper/mpatha.
-
Red Hat Enterprise Linux 7 の場合
# pvmove --atomic /dev/mapper/mpatha /dev/mapper/mpathb /dev/mapper/mpatha: Moved: 0,01% WARNING: Missing device /dev/mapper/mpathb reappeared, updating metadata for VG vg00 to version 523. WARNING: Device /dev/mapper/mpathb still marked missing because of allocated data on it, remove volumes and consider vgreduce --removemissing. WARNING: Inconsistent metadata found for VG vg00 - updating to use version 523 /dev/mapper/mpatha: Moved: 8,89% LVM command executed by lvmpolld failed. For more information see lvmpolld messages in syslog or lvmpolld log file.
-
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- HPOvPerfMI という名前の MicroFocus (または以前の Hewlett-Packard Enterprise) パッケージ - Systems Management (OpenView-OP Mgmt) の一部
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.