<?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: Help with Snaplock Compliance version? in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18403#M4354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, after my experimentation, I think I have this figured out, and I thought I would post in case someone else has the same questions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Read only attribute is what triggers the retention timer. On Windows that is set by changing the file properties, on Linux thats set by changing permissions with "chmod".&lt;/P&gt;&lt;P&gt;2. You can use the "touch -a -t YYMMDDHHSS" command to set the "access time" for a file, which is its future retention date.&lt;/P&gt;&lt;P&gt;3. There are also volume options as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snaplock_compliance = this is the type of snaplock license. "compliance" is more restrictive than "enterprise". Your business may have requirements for a more or less restricitve option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snaplock_minimum_period = the minimum allowed retention time. Can be set in days, months or years. If you try to set a file access time to less than this number, it will be increased to this number when it is commited to Snaplock. &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snaplock_maximum_period = The maximum allowed retention time. Can be set in days, months or years. If you try to&amp;nbsp; set a file access time to greater than this number, it will be decreased to this number when it is commited to Snaplock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snaplock_default_period = the default retention time. This can be in days, months, years, or set to "min" or "max". It must be between the min and max settings. When a file is commited, without explicitly setting the access time, then it will use this number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. There is a system option "snaplock.autocommit_period", that will be the amount of time before a written file, that has not been commited, will be automatically commited. After this time elapses, files that aren't already read only, will be set to read only and commited, using the default snaplock retention period. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jul 2010 15:58:01 GMT</pubDate>
    <dc:creator>kjoubert_atd</dc:creator>
    <dc:date>2010-07-16T15:58:01Z</dc:date>
    <item>
      <title>Help with Snaplock Compliance version?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18377#M4344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to implement FAS6080's as our Compliance storage. I have created a Snaplock aggregate, and Volume and Qtrees inside of it. I try to write a test file there, but it does not lock the file. It allows me to delete it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ny-FAS6080A1&amp;gt; aggr status aggr1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr State&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Options&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr1 online&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raid_dp, aggr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raidsize=16, snaplock_compliance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Volumes: Q3_2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Plex /aggr1/plex0: online, normal, active&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAID group /aggr1/plex0/rg0: normal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ny-FAS6080A1&amp;gt; vol status Q3_2010&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Volume State&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Options&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Q3_2010 online&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raid_dp, flex&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nosnap=on, nosnapdir=on,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sis&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no_atime_update=on,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snaplock_compliance&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Containing aggregate: 'aggr1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ny-FAS6080A1&amp;gt; qtree status Q3_2010&lt;BR /&gt;Volume&amp;nbsp;&amp;nbsp; Tree&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Style Oplocks&amp;nbsp; Status&lt;BR /&gt;-------- -------- ----- -------- ---------&lt;BR /&gt;Q3_2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unix&amp;nbsp; enabled&amp;nbsp; normal&lt;BR /&gt;Q3_2010&amp;nbsp; test&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unix&amp;nbsp; enabled&amp;nbsp; normal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ny-FAS6080A1&amp;gt; vol options Q3_2010&lt;BR /&gt;nosnap=on, nosnapdir=on, minra=off, no_atime_update=on, nvfail=off,&lt;BR /&gt;ignore_inconsistent=off, snapmirrored=off, create_ucode=off,&lt;BR /&gt;convert_ucode=off, maxdirsize=335462, schedsnapname=ordinal,&lt;BR /&gt;fs_size_fixed=off, snaplock_compliance, compression=off,&lt;BR /&gt;guarantee=volume, svo_enable=off, svo_checksum=off, svo_allow_rman=off,&lt;BR /&gt;svo_reject_errors=off, no_i2p=off, fractional_reserve=100,&lt;BR /&gt;snaplock_default_period=max, snaplock_minimum_period=0y,&lt;BR /&gt;snaplock_maximum_period=7y, extent=off, try_first=volume_grow,&lt;BR /&gt;read_realloc=off, snapshot_clone_dependency=off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation seems to indicate that files won't be Snaplocked until you change their file properties to "Read Only"? Is this accurate?&lt;/P&gt;&lt;P&gt;Writing a file to a snaplock volume doesn't commit the files to be locked?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:12:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18377#M4344</guid>
      <dc:creator>kjoubert_atd</dc:creator>
      <dc:date>2025-06-05T07:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Snaplock Compliance version?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18383#M4346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the KB for the detailed steps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://now.netapp.com/Knowledgebase/solutionarea.asp?id=kb14664" target="_blank"&gt;https://now.netapp.com/Knowledgebase/solutionarea.asp?id=kb14664&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : Please Ensure the SnapLock  “snaplock_default_period=max, snaplock_minimum_period=0y, snaplock_maximum_period=7y” proper before you make it WORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 13:55:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18383#M4346</guid>
      <dc:creator>danielpr</dc:creator>
      <dc:date>2010-07-14T13:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Snaplock Compliance version?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18390#M4349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you initialized compliance clock? You must do it before SnapLock can work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise it is correct – you have to set file read-only, after which current access time becomes retention period. No_atime_update is always on for snaplock volumes, so you can only set it manually. If no atime is ever set, default retention period will be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not wise to play with compliance, there is no way to destroy aggregate in compliance mode until retention time has expired. Better take simulator for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 14:01:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18390#M4349</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2010-07-14T14:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Snaplock Compliance version?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18399#M4352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the helpful answers so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, I will be using NFS shares to Linux hosts. I presume I can just "chmod 444 &lt;EM&gt;filename&lt;/EM&gt;" to achieve the read only trigger and snaplock the file.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Does anyone know how I would specify a retention time in my case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; It appears you can use "touch -a" on a file to set the retention time. But I am not sure of the syntax.&lt;/P&gt;&lt;P&gt;Also, is anyone familiar with the volume option "snaplock.autocommit_period"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 14:06:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18399#M4352</guid>
      <dc:creator>kjoubert_atd</dc:creator>
      <dc:date>2010-07-14T14:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Snaplock Compliance version?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18403#M4354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, after my experimentation, I think I have this figured out, and I thought I would post in case someone else has the same questions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Read only attribute is what triggers the retention timer. On Windows that is set by changing the file properties, on Linux thats set by changing permissions with "chmod".&lt;/P&gt;&lt;P&gt;2. You can use the "touch -a -t YYMMDDHHSS" command to set the "access time" for a file, which is its future retention date.&lt;/P&gt;&lt;P&gt;3. There are also volume options as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snaplock_compliance = this is the type of snaplock license. "compliance" is more restrictive than "enterprise". Your business may have requirements for a more or less restricitve option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snaplock_minimum_period = the minimum allowed retention time. Can be set in days, months or years. If you try to set a file access time to less than this number, it will be increased to this number when it is commited to Snaplock. &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snaplock_maximum_period = The maximum allowed retention time. Can be set in days, months or years. If you try to&amp;nbsp; set a file access time to greater than this number, it will be decreased to this number when it is commited to Snaplock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; snaplock_default_period = the default retention time. This can be in days, months, years, or set to "min" or "max". It must be between the min and max settings. When a file is commited, without explicitly setting the access time, then it will use this number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. There is a system option "snaplock.autocommit_period", that will be the amount of time before a written file, that has not been commited, will be automatically commited. After this time elapses, files that aren't already read only, will be set to read only and commited, using the default snaplock retention period. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 15:58:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Help-with-Snaplock-Compliance-version/m-p/18403#M4354</guid>
      <dc:creator>kjoubert_atd</dc:creator>
      <dc:date>2010-07-16T15:58:01Z</dc:date>
    </item>
  </channel>
</rss>

