免責事項: これは英文の記事 「Virtual machine powers off while creating or deleting snapshots with the error: Failed to lock the file (1033571)」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
Cannot open the disk '/vmfs/volumes/UUID/VMName/VMName-000001.vmdk' or one of the snapshot disks it depends on.Reason: Failed to lock the file.
vmware.log
ファイルに次のようなメッセージが記録される。vmx| [msg.disk.configureDiskError] Reason: Failed to lock the file.----------------------------------------
vmx| Msg_Post: Error
vmx| [msg.checkpoint.continuesync.fail] Error encountered while restarting virtual machine after taking snapshot.The virtual machine will be powered off.
hostd.log
ファイルに次のようなメッセージが記録される。info 'ha-eventmgr'] Event 78390 : Message on VMNAME on ESXHOSTNAME in ha-datacenter: Cannot open the disk '/vmfs/volumes/UUID/VMName/VMName-000001.vmdk' or one of the snapshot disks it depends on.Reason: Failed to lock the file.
10T04:40:30.093Z| vcpu-0| DISK: Cannot open disk "/vmfs/volumes/4a96b658-f4566303-6459-0024e86324cf/<vm-name>/<vm-name>-000003.vmdk": The capacity of the parent virtual disk and the capacity of the child disk are different (67).
10T04:40:30.093Z| vcpu-0| Msg_Post: Error
10T04:40:30.093Z| vcpu-0| [msg.disk.noBackEnd] Cannot open the disk '/vmfs/volumes/4a96b658-f4566303-6459-0024e86324cf/<vm-name>/<vm-name>-000003.vmdk' or one of the snapshot disks it depends on.
10T04:40:30.093Z| vcpu-0| [msg.disk.configureDiskError] Reason: The capacity of the parent virtual disk and the capacity of the child disk are different.
10T04:40:30.093Z| vcpu-0| ----------------------------------------
10T04:40:30.102Z| vcpu-0| CPT current = 6, requesting 0
10T04:40:30.109Z| vcpu-0| Msg_Post: Error
10T04:40:30.109Z| vcpu-0| [msg.checkpoint.continuesync.fail] An error occurred while restarting virtual machine after taking a snapshot.The virtual machine will be powered off.
hostd
、および vpxa
のログファイルを確認します。hostd
や vpxa
管理エージェントが VMDK 記述子ファイルを開いている場合は、次のようなログ メッセージが表示されます。info 'DiskLib'] DISKLIB-VMFS : "/vmfs/volumes/UUID/VMName/VMName-000001.vmdk" : open successful (21) size = 32227695616, hd = 0. Type 8
info 'DiskLib'] DISKLIB-VMFS : "/vmfs/volumes/UUID/VMName/VMName-000001.vmdk" : closed.
31:16:46:55.498 cpu7:8715)FS3: 2928: [Requested mode: 2] Lock [type 10c00001 offset 11401216 v 2035, hb offset 3178496
gen 26643, mode 1, owner 4ca72d14-84dc8dd4-0da3-0017a4770038 mtime 2213195] is not free on volume 'norr_prod_vmfs_data08'