1. 程式人生 > >vmkfstools change disk format or extend share disk

vmkfstools change disk format or extend share disk

can error: AS ror use tomat using chang tro

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

通過就地轉換為現有虛擬磁盤啟用群集功能 (2062869)請添加鏈接描述

Attempts to extend the size of an EagerZeroedThick VMDK from the vSphere Client might result in a LazyZeroedThick VMDK (2054563)請添加鏈接描述

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

方法二將虛擬磁盤轉換為厚置備置零磁盤:

a) 如果 VMDK 虛擬磁盤的類型為精簡置備,請使用 vmkfstools --inflatedisk 命令將此磁盤轉換為厚置備置零。

例如:

vmkfstools --inflatedisk /vmfs/volumes/DatastoreName/VMName/VMName.vmdk

註意:inflate 命令會報告完成的百分比。

b) 如果 VMDK 虛擬磁盤的類型為厚置備,請使用 vmkfstools --eagerzero 命令將此磁盤轉換為厚置備置零。

例如:

vmkfstools --eagerzero /vmfs/volumes/DatastoreName/VMName/VMName.vmdk

註意:eager zero 命令會報告完成的百分比。

Powering on the virtual machine fails with the error: Thin/TBZ disks cannot be opened in multiwriter mode (1033570)請添加鏈接描述

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2040969請添加鏈接描述

How to extend Share disks size

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 want the 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 to extend the disk. As a result, the EagerZeroedThick VMDK automatically becomes LazyZeroedThick.

vmkfstools change disk format or extend share disk