一、通过vmware-vdiskmanager增加虚拟机Linux硬盘空间
按Win+R键调出运行对话框,输入“cmd”并按回车键启动命令提示符窗口。
C:\Documents and Settings\hjun>D:
D:\Program Files\VMware>cd "VMware Workstation" (进入vmware工具安装目录,我的目录在D:\Program Files\VMware\VMware Workstation)
D:\Program Files\VMware\VMware Workstation>vmware-vdiskmanager(运行该命令可以查看命令的使用方法)
VMware Virtual Disk Manager - build 703057.
Usage: vmware-vdiskmanager.exe OPTIONS <disk-name> | <mount-point>
Offline disk manipulation utility
Operations, only one may be specified at a time:
-c : create disk. Additional creation options must
be specified. Only local virtual disks can be
created.
-d : defragment the specified virtual disk. Only
local virtual disks may be defragmented.
-k : shrink the specified virtual disk. Only local
virtual disks may be shrunk.
-n <source-disk> : rename the specified virtual disk; need to
specify destination disk-name. Only local virtual
disks may be renamed.
-p : prepare the mounted virtual disk specified by
the mount point for shrinking.
-r <source-disk> : convert the specified disk; need to specify
destination disk-type. For local destination disks
the disk type must be specified.
-x <new-capacity> : expand the disk to the specified capacity. Only
local virtual disks may be expanded.
-R : check a sparse virtual disk for consistency and atte
mpt
to repair any errors.
-e : check for di