28
2024
06
17:31:15

克隆或迁移虚拟机文件失败并显示以下错误:由文件引起的错误 (Error caused by file)

https://knowledge.broadcom.com/external/article/301379/error-caused-by-file.html


克隆或迁移虚拟机文件失败并显示以下错误:由文件引起的错误 (Error caused by file)

book

Article ID: 301379

calendar_today

Updated On: 03-29-2016

Products

VMware vCenter ServerVMware vSphere ESXi

Issue/Introduction

Symptoms:
免责声明:本文为 Cloning or migrating virtual machine files fail with the error: Error caused by file (2009097) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。


  • 无法克隆或迁移虚拟机文件

  • 在虚拟机上执行文件任务(如克隆或 Storage vMotion)失败

  • 在 vSphere Client 中,您会看到以下错误:

    由文件 [datastore1] VM1/VM1.vmdk 引起的错误 (Error caused by file [datastore1] VM1/VM1.vmdk)

  • 在 vmkernel 日志文件中,您会看到类似以下内容的条目:

    Nov 4 10:09:29 esx1 vmkernel: 0:01:56:52.538 cpu5:4743)DevFS: 2453: Unable to find device: 2d291c71-VM1-000001-delta.vmdk
    Nov 4 10:09:29 esx1 vmkernel: 0:01:56:52.811 cpu7:4743)VSCSI: 3423: handle 0(vscsi0:0):Using sync mode due to sparse disks
    Nov 4 10:09:29 esx1 vmkernel: 0:01:56:52.811 cpu7:4743)VSCSI: 3481: handle 8221(vscsi0:0):Creating Virtual Device for world 4744 (FSS handle 1147080)
    Nov 4 10:09:29 esx1 vmkernel: 0:01:56:52.903 cpu5:4743)VSCSI: 6034: handle 8221(vscsi0:0):Destroying Device for world 4744 (pendCom 0)
    Nov 4 10:09:29 esx1 vmkernel: 0:01:56:52.904 cpu5:4743)DevFS: 2453: Unable to find device: e6ce704-VM1-000002-delta.vmdk
    Nov 4 10:09:29 esx1 vmkernel: 0:01:56:52.986 cpu4:4743)DevFS: 2453: Unable to find device: 1c879d28-VM1-000002-delta.vmdk
    Nov 4 10:09:29 esx1 vmkernel: 0:01:56:53.351 cpu4:4743)DevFS: 2453: Unable to find device: 25b83726-VM1-000002-delta.vmdk


  • 在 vpxa 日志中,您会看到类似以下内容的条目:

    [2011-11-04 10:34:34.392 0xf7c20b90 verbose 'App'] [VpxaDatastoreContext] No conversion for localpath /vmfs/volumes/4e4eaa45-6ab6c040-cc72-0019bb2ffc3f/VM1/VM1.vmdk
    [2011-11-04 10:34:34.398 0xf7c20b90 info 'DiskLib'] DISKLIB-VMFS : "/vmfs/volumes/4e4eaa45-6ab6c040-cc72-0019bb2ffc3f/VM1/VM1-flat.vmdk" : open successful (542) size = 1020054732800, hd = 1884338. Type 3
    [2011-11-04 10:34:34.398 0xf7c20b90 info 'DiskLib'] DISKLIB-DSCPTR: Opened [0]: "VM1-flat.vmdk" (0x21e)
    [2011-11-04 10:34:34.398 0xf7c20b90 info 'DiskLib'] DISKLIB-LINK : Opened '/vmfs/volumes/4e4eaa45-6ab6c040-cc72-0019bb2ffc3f/VM1/VM1.vmdk' (0x21e): vmfs, 1992294400 sectors / 950 GB.
    [2011-11-04 10:34:34.399 0xf7c20b90 info 'DiskLib'] DISKLIB-LIB : Opened "/vmfs/volumes/4e4eaa45-6ab6c040-cc72-0019bb2ffc3f/VM1/VM1.vmdk" (flags 0x21e).
    [2011-11-04 10:34:34.400 0xf7c20b90 info 'DiskLib'] DISKLIB-LIB : CREATE: "/vmfs/volumes/4c76907c-95347a22-8cb1-6874651d7482/VM1/VM1.vmdk" -- vmfs capacity=1992294400 (950 GB) adapter=buslogic cowGran=0
    [2011-11-04 10:34:34.405 0xf7c20b90 info 'Libs'] FILE: File_VMFSSupportsFileSize: Requested file size (1020179251200) larger than maximum supported filesystem file size (274877906944)
    [2011-11-04 10:34:34.405 0xf7c20b90 info 'DiskLib'] DISKLIB-LIB : DiskLib_CreateChildCreateParam: grain size set to : 1
    [2011-11-04 10:34:34.405 0xf7c20b90 info 'DiskLib'] DISKLIB-LIB : CREATE: "/vmfs/volumes/4c76907c-95347a22-8cb1-6874651d7482/VM1/VM1.vmdk" -- vmfs capacity=1992294400 (950 GB) adapter=lsilogic cowGran=1
    [2011-11-04 10:34:34.409 0xf7c20b90 info 'Libs'] FILE: File_VMFSSupportsFileSize: Requested file size (1020054732800) larger than maximum supported filesystem file size (274877906944)
    [2011-11-04 10:34:34.409 0xf7c20b90 info 'DiskLib'] DISKLIB-LIB : Failed to clone : The destination file system does not support large files (12).
    [2011-11-04 10:34:34.421 0xf7c20b90 info 'DiskLib'] DISKLIB-VMFS : "/vmfs/volumes/4e4eaa45-6ab6c040-cc72-0019bb2ffc3f/VM1/VM1-flat.vmdk" : closed.
    [2011-11-04 10:34:34.421 0xf7c20b90 error 'App'] [VpxNfcClient] File transfer [sanfs://vmfs_uuid:4e4eaa45-6ab6c040-cc72-0019bb2ffc3f/Staging- File ( Staging Version/VM1.vmdk -> sanfs://vmfs_uuid:4c76907c-95347a22-8cb1-6874651d7482/VM1/VM1.vmdk] failed:
    [2011-11-04 10:34:34.421 0xf7c20b90 verbose 'App'] [VpxNfcClient] NFC file error for file sanfs://vmfs_uuid:4e4eaa45-6ab6c040-cc72-0019bb2ffc3f/VM1/VM1.vmdk


  • 此问题会影响单个虚拟机,而不管其正在哪个主机上运行



Environment

VMware vCenter Server 4.1.x
VMware ESXi 4.0.x Installable
VMware ESX 4.0.x
VMware vCenter Server 5.5.x
VMware vSphere ESXi 5.5
VMware ESXi 4.1.x Installable
VMware vCenter Server 5.1.x
VMware vCenter Server 5.0.x
VMware vSphere ESXi 5.1
VMware ESXi 4.0.x Embedded
VMware ESXi 4.1.x Embedded
VMware vCenter Server 4.0.x
VMware vSphere ESXi 5.0

Cause

如果目标数据存储的块大小不支持与源一样大的 VMDK,则会出现此问题。
注意:本文不适用于 NFS 数据存储。

Resolution

要解决此问题,请确保使用足够大可支持源计算机的 VMDK 文件的块大小格式化目标数据存储。
有关详细信息,请参见 Block size limitations of a VMFS datastore (1003565)


Additional Information

Cloning or migrating virtual machine files fail with the error: Error caused by file




推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

本文链接:https://hqyman.cn/post/6870.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏





休息一下~~


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

请先 登录 再评论,若不是会员请先 注册

您的IP地址是: