[vmdk]改變虛擬硬碟type

虛擬化,雲端運算
回覆文章
schumi
Site Admin
文章: 696
註冊時間: 2004-04-15 14:30:34

[vmdk]改變虛擬硬碟type

文章 schumi »

http://kb.vmware.com/selfservice/micros ... Id=2014832

Purpose
This article provides steps to change the provisioning of a virtual disk from thick to thin, or from thin to thick. The procedure uses the vSphere Client and vCenter Server to perform this task.
Resolution
Note: Before following these procedures, VMware highly recommends that you have a valid backup of the virtual machine and enough space to convert the virtual machine's disk(s) from thin to thick.

To change the provisioning of a virtual machine base disk from thin to thick from the Datastore Browser:
Power off the virtual machine.
In the vSphere Client, select the virtual machine in the inventory.
Click Edit Settings to display the Virtual Machine Properties dialog box.
Click the Hardware tab and select the appropriate hard disk in the Hardware list. The Disk Provisioning section on the right shows the type of your virtual disk, either Thin or Thick.
Click the Summary tab.
Under Resources, double-click the datastore where the virtual machine resides to open the Datastore Browser dialog box.
Click the virtual machine folder to find the virtual disk file you want to convert. The file has the .vmdk extension.
Right-click the VMDK file, and click Inflate. The Inflate option converts the disk to thick provisioned.
Notes:
If the Inflate option is grayed out, this may indicate that the virtual machine is not powered off or that it is not thin provisioned.
There should be no snapshots and the conversion is performed on the base disk.

To convert a virtual machine base disk from thick to thin provisioning by changing the datastore and using offline virtual machine migration:
Power off the virtual machine.
Right-click the virtual machine, and click Migrate.
Click Change datastore.
Click Next, and select a datastore that is not the same as the current datastore.
From the dropdown, select the Thin Provision virtual disk format.
Click Next, then Finish.
回覆文章

回到「VMware」