往vmware虚拟机中导入数据库或者文件以后经常出现磁盘空间不够用。这个时候就需要扩展一下磁盘的大小。
笔者本来60G,现在想扩展到100G
命令如下
D:\Program Files (x86)\VMware Workstation>vmware-vdiskmanager.exe -x 100Gb "E:\Windows 8.1 x64\Windows 8 x64.vmdk"
Disk expansion completed successfully.
WARNING: If the virtual disk is partitioned, you must use a third-party
utility in the virtual machine to expand the size of the
partitions. For more information, see:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647
扩展以后建议用分区助手管理虚拟机中的磁盘大小