1.使用vmware自带vmware-vdiskmanager.exe进行扩容第一步。
首先,进入“运行”,cmd,进入vmware-vdiskmanager.exe所在目录(例如:我的是在C:/Program Files/VMware/VMware Workstation,则(1)c: (2)cd Program Files (3)cd VMware (4)cd VMware Workstation 最后进入C:/Program Files/VMware/VMware Workstation),执行vmware-vdiskmanager.exe -x 20GB "E:/Red Hat Enterprise Linux 5/Red Hat Enterprise Linux 5.vmdk"(其中20GB指扩容后的大小,E:/Red Hat Enterprise Linux 5/Red Hat Enterprise Linux 5.vmdk指要扩容的虚拟机的磁盘)
a. 异常情况:Failed to expand the disk 'E:/VM/SUSEServer.vmdk': One of the parameters supplied is invalid (0x100003e80).