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
Thanks for sharing this information.