关于Vmware-tools的shrink功能

创建虚拟机时,在创建虚拟硬盘时候,有两个选择:1, Allocate all disk space now  2, split into 2Gb files

首先,最上面会让你选择你的虚拟硬盘的最大容量,比如预设的8GB,不论怎么分配容量,硬盘的总大小不能超过预设值。但是看到第一个选项说可以增强虚拟机性能,我就那么干了,但是这样,我就不能shrink硬盘空间了

官方的解释:

The option Allocate all disk space now gives somewhat better performance for your virtual machine. If you do not select Allocate all disk space now, the virtual disk's files start small and grow as needed, but they can never grow larger than the size you set here.

预先分配好了空间的话,开始就是8G的大小,如果是选项2的话,开始虚拟硬盘容量会很小,随着你的使用会慢慢增大,但是,选项2可以让你进行shrink,选项1就不可以压缩硬盘了

官方的解释:

Shrinking Virtual Disks

If you have a virtual disk that grows as data is added, you can shrink it as described in this section. If you allocated all the space for your virtual disk at the time you created it, you cannot shrink it. 如果你预分配的硬盘空间,你就不能shrink它了。

顺便发现了2个似乎比较有用的链接:

如何用vmware workstation创建虚拟机:

http://www.vmware.com/support/ws55/doc/ws_newguest_setup_simple_steps.html

Shrinking Virtual Disks:

http://www.vmware.com/support/ws5/doc/ws_disk_shrink.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值