Linux 仮想マシンの変換が次のエラーで失敗する:ボリューム グループに十分な空き容量がありません (Volume group has insufficient free space)
search cancel

Linux 仮想マシンの変換が次のエラーで失敗する:ボリューム グループに十分な空き容量がありません (Volume group has insufficient free space)

book

Article ID: 344428

calendar_today

Updated On:

Products

VMware

Issue/Introduction

  • LVM ボリュームを持つ Linux 仮想マシンを変換すると、次のようなエラーで失敗する。

Volume group "Volume2" has insufficient free space (3104 extents): 12800 required.

  • ソース マシンで次のコマンドを実行すると、
# vgs -o +vg_free_count,vg_extent_count | grep 'VSize\|Volume2'

次のようなエントリが表示される。

VGVolume2

  • converter-gui.log ファイルに次のようなエントリが記録される。
YYYY-MM-DDT<time> [03844 verbose 'ConverterDataProviderImpl'] Converter::Client::Gui::Wizard::ConverterDataProviderImpl::PropertyCollectorThread[14] - (vmodl.query.PropertyCollector.UpdateSet) {</time>
--> dynamicType = <unset>,
--> version = "14",
--> filterSet = (vmodl.query.PropertyCollector.FilterUpdate) [
--> (vmodl.query.PropertyCollector.FilterUpdate) {
--> dynamicType = <unset>,
--> filter = 'vmodl.query.PropertyCollector.Filter:session[4e1a1cb4-7276-c1cf-a1c3-f6e374ba8857]521ed2d1-c6c3-92e7-f218-679ed2ead05a',
--> objectSet = (vmodl.query.PropertyCollector.ObjectUpdate) [
--> (vmodl.query.PropertyCollector.ObjectUpdate) {
--> dynamicType = <unset>,
--> kind = "modify",
--> obj = 'converter.task.Task:task-246',
--> changeSet = (vmodl.query.PropertyCollector.Change) [
--> (vmodl.query.PropertyCollector.Change) {
--> dynamicType = <unset>,
--> name = "event[7619]",
--> op = "add",
--> val = (converter.event.UnixP2VDiskPartitionFailedEvent) {
--> dynamicType = <unset>,
--> key = 7619,
--> chainId = 7611,
--> type = "error",
--> createdTime = "YYYY-MM-DDT<time>",</time>
--> userName = "domain\admin",
--> fullMessage = "Unable to partition the destination disks.",
--> job = <unset>,
--> reason = (converter.fault.CloneFault) {
--> dynamicType = <unset>,
--> faultCause = (vmodl.MethodFault) null,
--> description = " Volume group "Volume2" has insufficient free space (3104 extents): 12800 required.
--> (return code 5)",
--> msg = "An error occurred during the conversion: ' Volume group "Volume2" has insufficient free space (3104 extents): 12800 required.
--> (return code 5)'",


  • vmware-converter-server.log ファイルに次のようなエントリが記録される。

YYYY-MM-DDT<time> [04568 info 'Default'] [task,379] [task-246] -- ERROR -- Convert: converter.fault.CloneFault</time>
--> (converter.fault.CloneFault) {
--> dynamicType = <unset>,
--> faultCause = (vmodl.MethodFault) null,
--> description = " Volume group "Volume2" has insufficient free space (3104 extents): 12800 required.
--> (return code 5)",
--> msg = "",


  • vmware-converter-worker.log ファイルに次のようなエントリが記録される。

YYYY-MM-DDT<time> [02992 verbose 'task-2'] [ProcessEvent] Event (converter.event.UnixP2VDiskPartitionFailedEvent) {</time>
--> dynamicType = <unset>,
--> key = 1,
--> chainId = 1,
--> type = "error",
--> createdTime = "YYYY-MM-DDT<time>",</time>
--> userName = "",
--> fullMessage = <unset>,
--> job = <unset>,
--> reason = (converter.fault.CloneFault) {
--> dynamicType = <unset>,
--> faultCause = (vmodl.MethodFault) null,
--> description = " Volume group "Volume2" has insufficient free space (3104 extents): 12800 required.
--> (return code 5)",
--> msg = "",
--> },
--> }
YYYY-MM-DDT<time> [02992 verbose 'PropertyProvider'] RecordOp ADD: event[6], task-2</time>
YYYY-MM-DDT<time> [02976 verbose 'task-2'] Converter Task GetEvent(taskID=task-2)</time>
YYYY-MM-DDT<time> [02976 verbose 'task-2'] Converter Task GetEvent(taskID=task-2)</time>
YYYY-MM-DDT<time> [04776 verbose 'task-1'] [ProcessEvent] Event (converter.event.UnixP2VDiskPartitionFailedEvent) {</time>
--> dynamicType = <unset>,
--> key = 6,
--> chainId = 2,
--> type = "error",
--> createdTime = "YYYY-MM-DDT<time>",</time>
--> userName = "",
--> fullMessage = <unset>,
--> job = <unset>,
--> reason = (converter.fault.CloneFault) {
--> dynamicType = <unset>,
--> faultCause = (vmodl.MethodFault) null,
--> description = " Volume group "Volume2" has insufficient free space (3104 extents): 12800 required.
--> (return code 5)",
--> msg = "",


Symptoms:
免責事項:これは英文の記事「Converting a Linux virtual machine fails with the error: Volume group has insufficient free space (2146391)」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。

Environment

VMware vCenter Converter Standalone 5.1.x
VMware vCenter Converter Standalone 5.0.x
VMware vCenter Converter Standalone 6.0.x
VMware vCenter Converter Standalone 5.5.x

Cause

この問題は、変換するボリューム グループ全体が 2 TB を超えると発生します。MBR ボリュームのパーティションが 2 TB を超えることはできません。

Resolution

この問題を解決するには、次の手順を実行します。

オプション 1:論理ボリュームを圧縮するか、一部のデータを新しいボリューム グループに移動して、使用領域が 2 TB を超えないようにします。

オプション 2:

  1. 問題のボリュームを含めずにマシンを変換します。
  2. 2 TB ディスクと別のディスクにわたる変換済みのマシン上に大規模な LVM を手動で作成します。
  3. ソース マシンであらゆる I/O を停止してから、データをソース マシンからターゲット マシンに SCP で移動します。


Additional Information

Converting a Linux virtual machine fails with the error: Volume group has insufficient free space