2017-07-28 11:27 AM - edited 2017-07-28 11:32 AM
ONTAP Recipes: Did you know you can…?
Easily make a file into a WORM file on a SnapLock volume via NFS
1. On the NFS host on which the volume is mounted, change the permissions on the file to read only. This makes the file a WORM file.
chmod -w <file>
2. To override the default retention period setting and set a retention period greater than the default, you can either:
touch -a -t <[[CC]YY]MMDDhhmm[.ss]> <file>
volume snaplock modify -vserver <vservername> - volume <volumename> -autocommit-period <value>
For more information, please see the ONTAP9 documentation center
2017-07-31 04:02 AM
Thanks for sharing this information.