As i increased the disk size of thick eager zeroed and as soon as it is increased it gets converted automatically in to thick lazy zeroed. Now this is known behavior of If you increased the size of eager zeroed disk using the UI, this is the normal behavior... to increase the size of a eager zeroed disk and maintain this format for the new added space, you will need to use the CLI.
For this Use ESXi Shell or SSH and then Open the VM Directory and execute the command in this format.
# vmkfstools -X 6G -d eagerzeroedthick vm.vmdk
Text given in Red color : You can use values here as per your configuration requirement.
To refresh the provisioned disk space value there are two methods:
First Method:- Remove the VM from Inventory > Then Add to Inventory
- Open and login to vSphere client.
- Power off the virtual machine.
- Right-click and select Remove from Inventory.
- Click Configuration > Storage > Browse the datastore
- Locate the .vmx file, Right-click and select Add to Inventory.
- After the Virtual machine is successfully added to the Inventory, the correct value will be displayed.
Second Method:- Reload the .vmx File
You can keep your VM in Power On State to Reload the .vmx file
Obtain the Inventory ID (
Vmid
) for the virtual machine using this command:# vim-cmd vmsvc/getallvms
Reload the
.vmx
file using this command:
# vim-cmd vmsvc/reload Vmid
Reference KB's:-
No comments:
Post a Comment