#The right command to calculate total size of all snapshots across all volumes?

1 messages · Page 1 of 1 (latest)

dusty linden
#

I used two commands:

#vol show -fields size-used-by-snapshots
Then add up the size of the snapshot on each volume.

# storage aggregate show-efficiency -aggregate agg_name -fields snapshot-physical-used
Then add up the size on each aggregate.

Two results showed about 6% difference in size.
Why is there such discrepancy and which one is more accurate? Or what is the other better way to achieve the same?

hybrid haven
#

I believe this would be due to aggregate level deduplication. Many of those blocks could have been dedupe prior to becoming snapshot only blocks. That would have them count in the vol count but not in the Aggr count

dusty linden
#

The total size of all SnapShots across all volumes is greater than the size I am getting from Aggrs. I can guess this is somehow due to Dedup & Compaction.

But, can you please explain to me in detail on why? There could be in-line dedup which happned on the AFF aggrs level. But, there could be also further deduped on the volumes level. So, why the size on volumes are greater?