Skip to main content
NetApp Knowledge Base

Snapshot size increases after restoring a FlexGroup volume

Views:
20
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

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.
  1. 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%
  1. Save a 6.5GB file.
  2. 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%
  1. Execute SnapMirror Update.
  2. Perform SnapMirror Restore using Snap1 to revert to the initial state.
  3. Save the same 6.5GB file again.
  4. 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%

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.