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