1. Discrepancy in snapshot size shown on vCenter and actual size consumed.
2. PowerCLI Get-snapshot displays incorrect snapshot size.
PowerCLI 10.1.1.8827524
vCenter Server 7.x
1.The Snapshot size displayed on vCenter is combination of all Base disk + existing Snapshot, this is expected though the space consumed by recent snapshot would be much less.
du -sh *flat.vmdkThis will match with snapshot size shown on vCenter.
2. As the PowerCLI commands only return the size of the snapshot at the time it was created, rather than the size of the snapshot disk after additional data has been added.
To work around this, you need to run $vm.ExtensionData.RefreshStorageInfo() to refresh snapshot size.
PS C:\Users\Administrator> $vm = get-vm TestVMPS C:\Users\Administrator> $vm.ExtensionData.RefreshStorageInfo()PS C:\Users\Administrator> Get-Snapshot -vm $vm | fl *
This should return the actual size consumed by Snapshot.