ONTAP Discussions

SnapShot behavior with or without SnapReserve enabled

netappmagic
4,784 Views

NetApp SnapShot uses copy-on-write technology. However, there would be difference in the case of if SnapReserve is enabled or not. 

 

If SR is not enabled, then there will be no data copies at all (so, not copy-on-write strictly speaking), because new data will always be written to new and empty blocks. 

 

If SR is enabled, then copying will happen, and blocks will be written to the reserved area before writes, which will also have a performance hit, because the change will be waiting on writes. 

 

Am I understanding this correctly?

 

Thanks!

8 REPLIES 8

aborzenkov
4,773 Views

No, you do not. There is no difference in behavior with or without snap reserve.

AndreUnterberg
4,753 Views

NetApp does not use Copy on write when doing Snapshots. They just point to the old block and declare the condition after snapshot as new Original. So for all new writes after snapshot go to the new Original. There is no copy action.

 

SnapReserve is an amount of capacity to give on top of your volume capacity.

If you build a volume of 4TB and give a space reserve of 10% the volume size will be 4,4 TB. But your Client/Server will only see a 4TB volume. 

 

It's just for safety reasons. So your Snapshots cannot fill up your data space.

 

Kind regards 

Andre

aborzenkov
4,741 Views

@AndreUnterberg wrote:

It's just for safety reasons. So your Snapshots cannot fill up your data space.


Is it something new in C-Mode? In 7-Mode snap reserve did not restrict snapshot “size” in any way, and it was always possible to fill up all available space.

OGill
4,721 Views

@aborzenkov wrote:

@AndreUnterberg wrote:

It's just for safety reasons. So your Snapshots cannot fill up your data space.


Is it something new in C-Mode? In 7-Mode snap reserve did not restrict snapshot “size” in any way, and it was always possible to fill up all available space.


As far as I am aware of there still is Snapshot Spill in cDOT. So if you do not configure Snapshot Autodelete the snapshots will spills over into the active file system if your Snapshot Reserve is full.

AndreUnterberg
4,689 Views

Sorry wrong wording. The snapshots still can spill over into data space. @OGill is absolutely right.

Anli-A
4,353 Views

Sorry 

 

ref to control the volume space usage:

https://library.netapp.com/ecmdocs/ECMP1368859/html/GUID-77437C70-6983-4BF7-AA01-2E5F7C709059.html 

„So your Snapshots cannot fill up your data space.„

Not really a SR cannot guarantee that a volume will not be filled up, data will grow into active Filesystem Volumespace and fill it up. SR is just like an Airback for FSs that have potentially high change ratio.

GidonMarcus
4,706 Views

Hello

 

SR should not impact perf in any way. all it does is to reserve some space on the AGGR and VOL space accounting. it's does not pre-allocating blocks or anything similar.

 

Gidi.

Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK
Public