I need to move groups of vms to new datastores, and keep the total provisioned space of each datastore below 1TB. When I get the list of VMs and select provisionedspaceGB, the sum of the provisionedspacegb of all the VMs is less than than 1TB. However, after I move them, the provisioned space of the datastore object as a whole as seen in vSphere Web Client is much higher than the sum of provisionedspaceGB for each VM.
How can I calculate the provisionedspaceGB for each VM so that it maches how the calculation works for the provisionedspaceGB for the entire datsatore?
See Find total space consumed on a datastore for a thick provisioned VM to retrieve the size per VM.
That should allow you to calculate the actual size the VMs will take on the datastore.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
See Find total space consumed on a datastore for a thick provisioned VM to retrieve the size per VM.
That should allow you to calculate the actual size the VMs will take on the datastore.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
ok thanks again