您的位置:首页 > 其它

给Vmware进行硬盘扩容 & Vmtools

2011-03-17 23:36 246 查看
VM6.0增加了一个命令行工具:vmware-vdiskmanager.exe程序,可以用来方便快速地调整虚拟磁盘空间大小,以扩容为例:

1.关闭虚拟操作系统电源;

2.进入VMWare安装路径,使用命令:C:/Program Files/VMware/VMware Workstation>vmware-vdiskmanager -x 12Gb K:/VM/Ubuntu/Ubuntu.vmdk来将Ubuntu的磁盘空间扩展到12GB(新磁盘总容量,含原有容量)。

注意:1.若路径中含有空格的,应加双引号;2.若虚拟磁盘文件已经切割为OSNAME-s001.vmdk、OSNAME-s002.vmdk等若干小文件,依然使用OSNAME.vmdk(如Ubuntu.vmdk)即可;3.命令中-x 表示要扩展虚拟机硬盘空间,其他参数可参考该命令自带帮助。
http://jesserei.blog.163.com/blog/static/12141168920103494753459/
binary files: /usr/bin

init directories (rc0.d/ rc6.d): /etc/

init scripts: /etc/init.d

daemon files:/usr/sbin

libraty files:/usr/lib/wmware-tools

documentation files:/usr/share/doc/vmware-tools

remove:/usr/bin/vmware-unistall-tools.pl

config:/usr/bin/vmware-config-tools.pl

run: invoking "/usr/bin/vmware-toolbox-cmd" from the command line, or

by invoking "/usr/bin/vmware-toolbox" from the command line during x server

use the vmxnet driver

/etc/init.d/networking stop

rmmod pcnet32

rmmod vmnet

/etc/init.d/networking start

useful info about processes that use the device is

lsof(8) fuser(1)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: