What is the meaning of "Total%" and "Used%" in "snapshot show"?
Applies to
- ONTAP 9
- Volume Snapshots
Answer
-
Total%
- percentage of total blocks in the volume- Calculation:
snapshot size/volume size
- Calculation:
-
Used%
- percentage of used blocks in the volume- Calculation:
snapshot size/(snapshot size + volume used size)
- Example: How to confirm the volume used size by
df -h
command and the calculation of snapshotUsed%
:
- Calculation:
cluster1::>snapshot show
svm1
vol1
weekly.2021-02-07_0015 912KB 0% 10%
weekly.2021-02-14_0015 4.02MB 0% 32%
cluster1::> df -volume vol1 -vserver svm1 -h
Filesystem total used avail capacity Mounted on
/vol/vol1/ 475GB 8568KB 474GB 0% ---
/vol/vol1/.snapshot 25GB 6400KB 24GB 0% ---
912MB/(912KB+8568KB)
= approximately 10%4.02MB/(4.02MB+8568KB)
= approximately 32%Additional Information
N/A