You can view the retention period of a volume to know if the volume can be deleted. You can delete a SnapLock volume when the retention period is over. You can view the maximum retention period of WORM files in SnapLock volume by using the
vol status command.
Step
- To view the retention period of a
SnapLock volume, enter the following command:
vol status -w
Example
In the following example, the command output displays the expiry date of SnapLock volumes in a storage system:
system_a> vol status -w
Volume Expiry Date Compliance Clock
------------------------- ---------------------------- ----------------------------
vol0 - -
slcv_32_1 Sun Dec 16 22:13:39 GMT 2012 Tue Feb 5 19:15:30 GMT 2013
slcv_32_3 Sat Nov 16 22:37:02 GMT 2019 Tue Feb 5 19:15:30 GMT 2013
slcv_32_5 Mon Sep 16 22:13:32 GMT 2013 Tue Feb 5 19:15:30 GMT 2013
If the
SnapLock volume does not have any retention time set, the command displays the expiry date as
none.
system_a> vol status -w
Volume Expiry Date Compliance Clock
------------------------- ---------------------------- ----------------------------
vol0 - -
sle_vol none Thu Jan 10 07:58:27 GMT 2013
reg_vol - -
slc_vol none Thu Jan 10 07:58:27 GMT 2013
Note: In a SnapLock Enterprise volume, the volume expiry time might be inconsistent, for example, date with a longer retention than that of the oldest file on the volume and so on. This is because certain operations, such as privileged delete and Single File SnapRestore (SFSR), might not update the volume's expiry date. However, you can destroy a SnapLock Enterprise volume, irrespective of the volume's expiry date.