<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Snapshots Explained in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73605#M17154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's correct.&amp;nbsp; Just as long as the block is locked by other snapshot(s) and/or the AFS, deleting the snapshot will not allow it to be freed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may already know this, but you can also use the 'snap reclaimable' command to find out how much space would be reclaimed by deleting a specified snapshot or snapshots.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Apr 2013 13:27:33 GMT</pubDate>
    <dc:creator>GARDINEC_EBRD</dc:creator>
    <dc:date>2013-04-12T13:27:33Z</dc:date>
    <item>
      <title>Snapshots Explained</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73586#M17145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Could someone help me get my head around snapshots and how in some instances deleting one snapshot doesn't save me space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding of snapshot technology is also a little sketchy and this doesn't help me with my question above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here a step by step guide of what I think I know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFS contains blocks A, B, C&lt;/P&gt;&lt;P&gt;T0 snapshot occurs - Size of snapshot is zero (although I'm assuming this is not strictly true as what I believe happens is the pointers to the active blocks are copied into the snapshot, so ill say zero even though it might be a couple of Kb - (Blocks A,B,C are locked in place)&lt;/P&gt;&lt;P&gt;Block D is added, this goes into the active file system the snapshot doesn't change size at all as new data has no effect&lt;/P&gt;&lt;P&gt;T1 snapshot occurs Size is zero - blocks locked by this snapshot are A,B,C,D or is it just Block D as A,B,C are locked by the previous snapshot?&lt;/P&gt;&lt;P&gt;T0 Snapshot is still zero &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Block D is deleted &lt;/P&gt;&lt;P&gt;T1 snapshot grows by the size of Block D&lt;/P&gt;&lt;P&gt;T0 snapshot is still zero&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Block E is created - &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;This has no affect on any snapshots&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Block A is deleted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;T1 snapshot grows by the size of Block A (so now is A+D big)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;T0 snapshot stays at zero&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2 Snapshot is created and is zero - BLOCKS being locked are B,C,E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Block E is deleted&lt;/P&gt;&lt;P&gt;T2 snapshot goes up by the value of E&lt;/P&gt;&lt;P&gt;T1 is still A+D&lt;/P&gt;&lt;P&gt;T0 is still Zero&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this all correct so far? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right, so if I were to delete T0 I would gain back nothing - Sure I get that.&lt;/P&gt;&lt;P&gt;If I were to delete T1 which currently holds A+D, the space reclaimable would be zero as the 2 blocks would role over to T0 as they are still referenced in this snapshot.. correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a way of summing this up therefore making it easier to understand? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:05:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73586#M17145</guid>
      <dc:creator>matt090385</dc:creator>
      <dc:date>2025-06-05T06:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshots Explained</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73589#M17147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Comments below in &lt;STRONG&gt;BOLD&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt090385 wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi, Could someone help me get my head around snapshots and how in some instances deleting one snapshot doesn't save me space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding of snapshot technology is also a little sketchy and this doesn't help me with my question above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here a step by step guide of what I think I know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFS contains blocks A, B, C&lt;/P&gt;&lt;P&gt;T0 snapshot occurs - Size of snapshot is zero (although I'm assuming this is not strictly true as what I believe happens is the pointers to the active blocks are copied into the snapshot, so ill say zero even though it might be a couple of Kb - (Blocks A,B,C are locked in place)&lt;/P&gt;&lt;P&gt;Block D is added, this goes into the active file system the snapshot doesn't change size at all as new data has no effect&lt;/P&gt;&lt;P&gt;T1 snapshot occurs Size is zero - blocks locked by this snapshot are A,B,C,D or is it just Block D as A,B,C are locked by the previous snapshot?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; a snapshot 'locks' every block in the AFS at the time regardless of whether they are already locked by any other snapshot.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T0 Snapshot is still zero &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Block D is deleted &lt;/P&gt;&lt;P&gt;T1 snapshot grows by the size of Block D&lt;/P&gt;&lt;P&gt;T0 snapshot is still zero&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; Correct, but see below...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Block E is created - &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;This has no affect on any snapshots&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Block A is deleted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;T1 snapshot grows by the size of Block A (so now is A+D big)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;T0 snapshot stays at zero&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; Here's probably where you are getting confused.&amp;nbsp; I find it's better not to think of individual snapshots having sizes, rather the size of all snapshots in a given volume.&amp;nbsp; The reason is the .snapshot usage at this point will be the sum of blocks locked by snapshots that are not currently part of the active filesystem.&amp;nbsp; So, at this point the snapshot's will consume A and D.&amp;nbsp; Both T0 and T1 have locks on block A.&amp;nbsp; Deleting one snapshot or the other will not release block A, only if you delete both snapshots.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2 Snapshot is created and is zero - BLOCKS being locked are B,C,E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Block E is deleted&lt;/P&gt;&lt;P&gt;T2 snapshot goes up by the value of E&lt;/P&gt;&lt;P&gt;T1 is still A+D&lt;/P&gt;&lt;P&gt;T0 is still Zero&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; think of it in terms of blocks, and what has a lock on what.&amp;nbsp; So (and I think I've followed you correctly so far):&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;STRONG&gt; A is locked by T0, T1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;STRONG&gt; B is locked by T0, T1, T2, AFS&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;STRONG&gt; C is locked by T0, T1, T2, AFS&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;STRONG&gt; D is locked by T1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;STRONG&gt; E is locked by T2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this all correct so far? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right, so if I were to delete T0 I would gain back nothing - Sure I get that.&lt;/P&gt;&lt;P&gt;If I were to delete T1 which currently holds A+D, the space reclaimable would be zero as the 2 blocks would role over to T0 as they are still referenced in this snapshot.. correct?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; Not quite; T1 only has an exclusive lock on block D, so only block D would be freed by deleting snapshot T1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a way of summing this up therefore making it easier to understand? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; Hope that helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 11:15:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73589#M17147</guid>
      <dc:creator>GARDINEC_EBRD</dc:creator>
      <dc:date>2013-04-12T11:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshots Explained</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73600#M17151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. I think I get it. The statement at the end was a slip of the old brain "I should have spotted that T0 has nothing to do with block D"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to sum this up into a statement... Any block which was referenced in any &lt;STRONG&gt;previous&lt;/STRONG&gt; snapshot from the one which you deleting will still hold onto that block and therefore you wont reclaim that space that you had hoped?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;The same &lt;/SPAN&gt;statement&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt; could also be true for any block which is &lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5px;"&gt;referenced&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt; in more current snapshots than the one being deleted?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 11:33:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73600#M17151</guid>
      <dc:creator>matt090385</dc:creator>
      <dc:date>2013-04-12T11:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshots Explained</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73605#M17154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's correct.&amp;nbsp; Just as long as the block is locked by other snapshot(s) and/or the AFS, deleting the snapshot will not allow it to be freed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may already know this, but you can also use the 'snap reclaimable' command to find out how much space would be reclaimed by deleting a specified snapshot or snapshots.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 13:27:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73605#M17154</guid>
      <dc:creator>GARDINEC_EBRD</dc:creator>
      <dc:date>2013-04-12T13:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshots Explained</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73613#M17157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK great so you can specify many snapshots under one command. I was thinking it would be rather pointless only being able to give one argument.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 13:43:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snapshots-Explained/m-p/73613#M17157</guid>
      <dc:creator>matt090385</dc:creator>
      <dc:date>2013-04-12T13:43:11Z</dc:date>
    </item>
  </channel>
</rss>

