Convert the virtual disk to Eager Zeroed Thick and extend disk

本文介绍如何通过存储vMotion或使用vmkfstools命令将VMDK虚拟磁盘从Thin或Thick Provision Lazy Zeroed转换为Thick Provision Eager Zeroed格式,并提供了扩展VMDK磁盘的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

How to change VMDK disk format from Thin and Thick Provision Lazy Zeroed to Thick Provision Eager Zeroed



一, Use storage vMotion to change the disk format


二, Use command to change the disk format


If the VMDK virtual disk is of type Thin, convert the disk to Eager Zeroed Thick using the vmkfstools --inflatedisk command.      
      
      For example:
      
      vmkfstools --inflatedisk /vmfs/volumes/DatastoreName/VMName/VMName.vmdk
      
      Note: The inflate command reports the percentage of completion.


If the VMDK virtual disk is of type Thick, convert the disk to Eager Zeroed Thick using the vmkfstools --eagerzero command.      
      
      For example:


      vmkfstools --eagerzero /vmfs/volumes/DatastoreName/VMName/VMName.vmdk
      
      Note: The eager zero command reports the percentage of completion.



How to extend vmdk disk



一, extend vmdk disk (Thin or Thick provision lazy zeroed)

vmkfstools -X [新的大小] [目的vmdk文件] 


二, If you need to extend the VMDK and want the VMDK to be EagerZeroedThick, run this command:
For example, to extend the size of the virtual disk to 60 GB:

vmkfstools -X 60G -d eagerzeroedthick /vmfs/volumes/Datastore_name/virtual_Machine_folder/virtualmachinedisk.vmdk


Notes:
In the preceding vmkfstools -X example, 60 GB is the size that you wantthe disk file to be, is not the size by which you want to extend the disk file.

If you extend the disk by using UI, you have no control over all the options toextend the disk. As a result, the EagerZeroedThick VMDK automatically becomesLazyZeroedThick.


Enabling clustering features for an existing virtual disk by converting in place (1035823)

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1035823

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1842933如需转载请自行联系原作者


520feng2007

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值