From the VMware docs:
Storage Usage shows how much datastore space is occupied by virtual machine files, including configuration and log files, snapshots, virtual disks, and so on. When the virtual machine is running, the used storage space also includes swap files.
For virtual machines with thin disks, the actual storage use value might be less than the size of the virtual disk.
That makes me think that Discovery is not aware of the desired value.
Additionally I found this: storage usage not correct |VMware Communities
Anyway, I would suggest to look at the size of the disk drives, because there can be a gap between disk drives and file systems due to unallocated space.
I would think if it is displayed in vCenter we can get to it through the vSphere API. I just don't know how to do it. We are trying to make a case for replacing one of the systems the customer users but this is one of the values that system displays that we currently do not.
Bumping this back up, does anybody else have any ideas if this is something we can get?
1 of 1 people found this helpful
I imagine that it is the sum of the storage of the VMs, i.e. the VirtualMachine managed object, summary.storage.committed (VMware docs). How you get there would depend upon the starting point.