‘esxcli vsan debug object list’ command output showing discrepancy in the ‘Used’ space and the ‘Size’ for objects.
For Example, a 510 GB disk showing used space of 2842 GB in the vSAN datastore.
Object UUID: bd8c9d5e-eac8-b4e5-4cec-xxxxxxxxxxxx:
Version: 10
Health: Healthy
Owner: ESX_01
Size: 510.00 GB
Used: 2842.00 GB
Storage policy change for these objects will report a huge resync data.
VMware VSAN 7.x
VMware vSAN 8.x
python query_object_capacity_usage.py --uuid 55fe3b67-xxxx-xxx-xxxx-xxxxxxxxxxxx
python query_object_capacity_usage.py
--uuid
Filter by object UUID. --rawSize
Display the raw capacity data (in bytes).
--csv
Output data in CSV format (comma-separated).rawSize
option to view capacity usage in bytes for detailed analysis.csv
option for exporting results in a format suitable for spreadsheet applications.