Welcome to Communities.
If you wouldn't mind, don't post new topics for the same question - just bump the original question with more information on your troubleshooting findings in the interim, this makes it easier for people to find information and ensures the information stays focused in the one thread.
When you say "flash drives" are you referring to the Cache-tier SSD/NVMe fronting each Disk-Group or Capacity-tier SSD/NVMe devices?
If Cache-tier SSD/NVMe then getCapacity may not be returning any data as in vSAN we don't really use Cache-tier for permanent data storage and the 'capacity' of these devices doesn't contribute to vsanDatastore size.
Maybe you can enumerate these with 'getTotalBytes' instead, but other than that I can't see any other obvious categories where this would fall under in VsanPhysicalDiskHealthSummary
Thank You Bob!
I was referring to Capacity-tier SSD. In VCenter. I could see the Total Capacity and the Used Capacity of the flash drive in VCenter. I tried getTotalBytes() method, but no luck. It is also returning null value. Metrics in VCenter shown as below for your reference.
Drive Type Capacity Used Capacity Reserved Capacity Flash 372.00 GB 2.00 B 0.00 B HDD 1.09 TB 173.46 GB 134.73 GB HDD 1.09 TB 143.13 GB 130.64 GB Flash 372.00 GB 2.00 B 0.00 B HDD 1.09 TB 15.50 GB 1.42 GB HDD 1.09 TB 15.13 GB 1.41 GB