Table of ContentsLibraryView in Frames

Transitioning data to the WORM state and setting the retention date

You must transition a file from the writable to read-only state in the SnapLock volume for the file to be committed to a WORM state. You can transition data to the WORM state interactively or automatically. In addition, you must set the retention date for the file.

Steps

  1. Set the retention date using the command or program available to the file access protocol (CIFS, NFS, and so on) and client operating system you are using.

    Example

    In a UNIX shell, use the following commands to set the document.txt with a retention date of 21 November 2020:touch -a -t 202011210600 document.txt

  2. Commit the document.txt file to the WORM state by using the following command:chmod -w document.txt

    Note: The last accessed timestamp of the file at the time it is committed to the WORM state becomes its retention date unless it is limited by the minimum or maximum retention period of the SnapLock volume. If no retention date was set for the file, the default retention period of the SnapLock volume is used. The file's retention date is stored in the atime field. The option no_atime_update is always set to on for SnapLock volumes. Therefore, atime is not updated when files are accessed.