Storage / vDatastore / vPartition
Reconciling datastore free space
Keep datastore capacity, provisioned virtual disks, and guest free space in separate totals.
Begin at the datastore
Read each datastore once. When exports cover overlapping host groups, check datastore identity before adding capacities. Compute the occupied amount from capacity minus free space, using the same unit for both.
Keep the layers visible
A virtual disk exposes capacity to a VM. A guest partition reports a file system inside the guest. Neither number alone describes the free physical space on the datastore. Missing guest data belongs in an unknown column.
Work an example
A 4 TiB datastore with 1 TiB free has 25% free space. A guest on that datastore can simultaneously have a nearly full system partition. Report the two findings separately so the correct owner can act.
Reference · Dell RVTools documentation