Snapshot size increases after restoring a FlexGroup volume
Applies to
- ONTAP 9
- FlexGroup
- Snapshot
- SnapMirror
Issue
After a restore via SnapMirror, if you save the same data and take a snapshot, the size will be larger.
- Initial state: Snapshot Snap1 is created.
Cluster::> snapshot show -vserver svm1 -volume fg1
---Blocks---
Vserver Volume Snapshot Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
svm1 fg1
snapmirror.ac47a19b-ee9b-11ef-bc5d-00a098d0b873_2160483137.2025-02-19_033710
688KB 0% 0%
snap1 983.6MB 0% 50%
- Save a 6.5GB file.
- Create Snapshot Snap2.
Cluster::> snapshot create -vserver svm1 -volume fg1 -snapshot snap2
The size of Snap2 is almost the same as the logical data size.
Cluster::> snapshot show -vserver svm1 -volume fg1
---Blocks---
Vserver Volume Snapshot Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
svm1 fg1
snap1 983.6MB 0% 13%
snapmirror.ac47a19b-ee9b-11ef-bc5d-00a098d0b873_2160483137.2025-02-20_012822
988.2MB 0% 13%
snap2 6.53GB 3% 50%
- Execute SnapMirror Update.
- Perform SnapMirror Restore using Snap1 to revert to the initial state.
- Save the same 6.5GB file again.
- Create Snapshot Snap3.
Cluster::> snapshot create -vserver svm1 -volume fg1 -snapshot snap3
Snapshot Snap3 is observed to be larger than Snap2.
Cluster::> snapshot show -vserver svm1 -volume fg1
---Blocks---
Vserver Volume Snapshot Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
svm1 fg1
snap1 983.6MB 0% 12%
snap2 6.53GB 3% 48%
snapmirror.ac47a19b-ee9b-11ef-bc5d-00a098d0b873_2160483137.2025-02-20_013129
6.53GB 3% 48%
restored.d59573cc-edc1-11ef-bc5d-00a098d0b873_2160483134.snap1.2025-02-20_013521
1.78GB 1% 20%
snap3 6.94GB 3% 50%