Snapshot size sum does not match volume field space-used-by-snapshots
Applies to
ONTAP 9
Issue
- Field size-used-by-snapshots on volume does not match summed up per-snapshot size:
::>vol show
vserver volume size-used-by-snapshots
---------------- ------------ ----------------------
svm1 vol1 100GB
::> snapshot show -vserver svm1 -volume vol1
Vserver Volume Snapshot Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
svm1 vol1 daily.2021-08-12_0010 50.00GB 0% 0%
daily.2021-08-13_0010 4.00MB 0% 0%
vserverdr.0.xxx.2021-08-13_091500 25.00GB 0% 0%
vserverdr.1.xxx.2021-08-13_093000 220KB 0% 0%
4 entries were displayed.
- Node shell command
snap status
shows some or all snapshots instatus
creating
:
::> system node run -node <node_with_volume> -command "snap status
vol1"
snapid status date ownblks release fsRev name
------ ------ ------------ ------- ------- ----- --------
213 creating Aug 13 09:30 55 9.7 35092 vvserverdr.1.xxx.2021-08-13_093000 (53436/53516 remaining)
212 creating Aug 13 09:15 15610097 9.7 35092 vvserverdr.0.xxx.2021-08-13_091500 (53436/53516 remaining)
150 creating Aug 13 00:10 1041 9.7 35092 daily.2021-08-13_0010 (53436/53516 remaining)
113 creating Aug 13 00:10 1858934 9.7 35092 daily.2021-08-12_0010
- Node shell command wafl scan status shows some scans with a low scan ID which are long-running :
::> system node run -node <node_with_volume> -command "wafl scan status vol1"
Volume vol1:
Scan id Type of scan progress
132590 snap create summary update block 729 of 395662
10 blocks used summary update block 1592 of 395662