Table of ContentsLibraryView in Frames

Setting the maximum retention period

You can set the SnapLock volume maximum retention period to ensure that applications or users do not assign excessive retention periods that do not conform to the required maximum retention period values. You can also set the maximum retention period to infinite.

Step

  1. To set the SnapLock volume maximum retention period, enter the following command:vol options vol_name snaplock_maximum_period [ period | infinite ]

    vol_name is the SnapLock volume name.

    period is the retention period specified by a numeral, followed by days (d), months (m), or years (y). Alternatively, you can specify infinite, which means that all files on the volume are retained forever.

    See the na_vol(1) man page for details.

    Example

    The following command sets a maximum retention period of three years:vol options wormvol1 snaplock_maximum_period 3y