Shrink VmWare File VMDK——Failed to open the disk. The file specified is not a virtual disk

  • Post author:
  • Post category:其他

使用命令查看命令格式:

D:/Program Files (x86)/VMware/VMware Workstation>vmware-vdiskmanager.exe /?

   

-k                   : shrink the specified virtual disk. Only local

                           virtual disks may be shrunk.

 

ex 7: vmware-vdiskmanager.exe -k myDisk.vmdk

 

执行如下,报错:

D:/Program Files (x86)/VMware/VMware Workstation>vmware-vdiskmanager.exe -k “F:/

Win2003_ORACLE/Win2003-0-s013.vmdk”

Failed to open the disk ‘F:/Win2003_ORACLE/Win2003-0-s013.vmdk’ : The file speci

fied is not a virtual disk (0xf00003ebf).

Failed to shrink the disk ‘F:/Win2003_ORACLE/Win2003-0-s013.vmdk’ : The file spe

cified is not a virtual disk (0xf00003ebf).

 

去掉 VMDK 文件的最后一个“ ”及其他字符,如下:

D:/Program Files (x86)/VMware/VMware Workstation>vmware-vdiskmanager.exe -k “F:/

Win2003_ORACLE/Win2003-0.vmdk

  Shrink: 48% done.

 

执行成功。

 


版权声明:本文为furtherchan原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。