Hi,
We've been using a script that should get the provisioned space but when I try to compare the script output against what I can see in GUI, values are not the same. Also I can see some of the output have zero value. Below is the output of the script and screenshot from the GUI. Also I have attached the script text file.
Script Output:
ClusterName | DatastoreName | ProvisionedSpace | CapacitySpaceUsed | FreeSpace |
XXXX | wphesx02_v2 | 1179.3 | 1500 | 1262.57 |
XXXX | wphesx01_v6 | 560.55 | 1500 | 1278.34 |
XXXX | local007 | 0 | 131.75 | 130.14 |
XXXX | vmware_dmx3_003 | 117.15 | 269.5 | 226.02 |
XXXX | wphesx01_v2 | 394.4 | 1500 | 643.88 |
XXXX | wphesx01_v3 | 681.12 | 1500 | 1081.81 |
XXXX | wphesx01swap_v1 | 0 | 270 | 269.57 |
XXXX | wphesx02_v1 | 1008.72 | 1500 | 1282.15 |
XXXX | wphesx02_v3 | 768.98 | 1500 | 1196.12 |
XXXX | wphesx02_v4 | 361.13 | 1500 | 792.49 |
XXXX | wphesx01_v5 | 690.17 | 1500 | 1122.06 |
XXXX | wphesx01_v1 | 853.4 | 1500 | 1125.83 |
XXXX | wphesx01_v4 | 790.54 | 1500 | 1138.25 |