给Vmware进行硬盘扩容 & Vmtools

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)

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值