<?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 Snaplock question: Extending file retention (CIFS) in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Snaplock-question-Extending-file-retention-CIFS/m-p/41611#M9781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All – I have a customer who asked me the following question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="color: red;"&gt;Q.&amp;nbsp;&amp;nbsp; If a file has its retention expired on a SnapLock volume,&amp;nbsp; can its retention be extended ? I am trying to add another +1month on a file that is expired but I get access denied when trying to do so.&amp;nbsp;&amp;nbsp; At the same time I can delete the file if I wanted to and I can reset its read-only attribute.&amp;nbsp; I cannot seem to extend the accessed time which is the expiration time on that file using windows utilities.&amp;nbsp; (I’m using AttributeMajic Pro)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then sent him this procedure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 15pt; font-family: 'Arial','sans-serif';"&gt;Extending the retention date of a WORM file&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;A WORM file can remain in WORM state longer than the current retention date if you extend the&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;retention date of the WORM file beyond that of the current retention date.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;About this task&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;For extending the retention date, you can use the command or program available to the file access&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;protocol (CIFS, NFS, and so on) and client operating system you are using. You can extend the&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;retention date interactively or programmatically.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;Note: &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;The SnapLock volume maximum or minimum retention period restrictions are not applied&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;when the retention date of a WORM file is being extended.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;Steps&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;1. &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;To extend the retention date, use the command or program available to you.&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;22 &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;| Data ONTAP 8.1 Archive and Compliance Management Guide for 7-Mode&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;Example&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0070c0; font-size: 10pt;"&gt;In a UNIX shell, you can use the following command to extend the &lt;/SPAN&gt;&lt;SPAN style="font-family: Courier; color: #0070c0; font-size: 9pt;"&gt;document.txt &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0070c0; font-size: 10pt;"&gt;file to a&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;WORM state with a retention date of 15 December 2020:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: Courier;"&gt;touch -a -t 202012150600 document.txt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;Note: &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;The retention date of a WORM file can never be changed to earlier than its current&lt;/EM&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;setting.&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;2. &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;To check the retention date on a file, enter the following command and note the value of the&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;access time:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: Courier;"&gt;stat document.txt&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He came back with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;Thanks,&amp;nbsp; I saw this on now site.&amp;nbsp; I don’t have this tree open for UNIX.&amp;nbsp; It is only CIFS.&amp;nbsp; What would be a windows equivalent command to do so?&amp;nbsp; I’d like to stay native and avoid 3&lt;SUP&gt;rd&lt;/SUP&gt; party tools if I can. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how he can get this done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:04:12 GMT</pubDate>
    <dc:creator>evertonn</dc:creator>
    <dc:date>2025-06-05T06:04:12Z</dc:date>
    <item>
      <title>Snaplock question: Extending file retention (CIFS)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snaplock-question-Extending-file-retention-CIFS/m-p/41611#M9781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All – I have a customer who asked me the following question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="color: red;"&gt;Q.&amp;nbsp;&amp;nbsp; If a file has its retention expired on a SnapLock volume,&amp;nbsp; can its retention be extended ? I am trying to add another +1month on a file that is expired but I get access denied when trying to do so.&amp;nbsp;&amp;nbsp; At the same time I can delete the file if I wanted to and I can reset its read-only attribute.&amp;nbsp; I cannot seem to extend the accessed time which is the expiration time on that file using windows utilities.&amp;nbsp; (I’m using AttributeMajic Pro)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then sent him this procedure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 15pt; font-family: 'Arial','sans-serif';"&gt;Extending the retention date of a WORM file&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;A WORM file can remain in WORM state longer than the current retention date if you extend the&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;retention date of the WORM file beyond that of the current retention date.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;About this task&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;For extending the retention date, you can use the command or program available to the file access&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;protocol (CIFS, NFS, and so on) and client operating system you are using. You can extend the&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;retention date interactively or programmatically.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;Note: &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;The SnapLock volume maximum or minimum retention period restrictions are not applied&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;when the retention date of a WORM file is being extended.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;Steps&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;1. &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;To extend the retention date, use the command or program available to you.&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;22 &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;| Data ONTAP 8.1 Archive and Compliance Management Guide for 7-Mode&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;Example&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0070c0; font-size: 10pt;"&gt;In a UNIX shell, you can use the following command to extend the &lt;/SPAN&gt;&lt;SPAN style="font-family: Courier; color: #0070c0; font-size: 9pt;"&gt;document.txt &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0070c0; font-size: 10pt;"&gt;file to a&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;WORM state with a retention date of 15 December 2020:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: Courier;"&gt;touch -a -t 202012150600 document.txt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;Note: &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;The retention date of a WORM file can never be changed to earlier than its current&lt;/EM&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;setting.&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;2. &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;To check the retention date on a file, enter the following command and note the value of the&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;EM style="color: #0070c0; font-size: 10pt; font-family: 'Times New Roman','serif';"&gt;access time:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0070c0; font-size: 9pt; font-family: Courier;"&gt;stat document.txt&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He came back with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;Thanks,&amp;nbsp; I saw this on now site.&amp;nbsp; I don’t have this tree open for UNIX.&amp;nbsp; It is only CIFS.&amp;nbsp; What would be a windows equivalent command to do so?&amp;nbsp; I’d like to stay native and avoid 3&lt;SUP&gt;rd&lt;/SUP&gt; party tools if I can. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how he can get this done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:04:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snaplock-question-Extending-file-retention-CIFS/m-p/41611#M9781</guid>
      <dc:creator>evertonn</dc:creator>
      <dc:date>2025-06-05T06:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Snaplock question: Extending file retention (CIFS)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snaplock-question-Extending-file-retention-CIFS/m-p/41616#M9782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is a free tool called "finders keepers" which lets you update the access time of files ( or files within folders and subfolders) and then set the "read only" bit too. &lt;/P&gt;&lt;P&gt;I think these are the 2 things requried to extend the retention of snaplock files.I have tested it on my desktop files and do not know it it would work for mapped drives or &lt;A href="https://community.netapp.com/" target="_blank"&gt;\\share&lt;/A&gt; path. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The url to get the tool is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;A href="http://www.techrepublic.com/article/build-your-skills-learn-to-manipulate-file-time-stamps-in-windows/5034280" target="_blank"&gt;http://www.techrepublic.com/article/build-your-skills-learn-to-manipulate-file-time-stamps-in-windows/5034280&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 17:21:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snaplock-question-Extending-file-retention-CIFS/m-p/41616#M9782</guid>
      <dc:creator>ANIMESH1978</dc:creator>
      <dc:date>2013-07-02T17:21:19Z</dc:date>
    </item>
  </channel>
</rss>

