You can assign a SnapLock Compliance volume as the log volume to log the SnapLock events.
Before you begin
- You must have licensed and enabled the SnapLock Compliance functionality.
- You must have a SnapLock Compliance volume.
Steps
- To check the existing volume, enter the following command: vol status
This command lists all the volumes. You need to select a SnapLock Compliance volume.
- To list the SnapLock log volumes in a system, enter the following command: snaplock log volume
This command gets the name of the current SnapLock log volume.
- To set the SnapLock log volume to another volume, enter the following command: snaplock log volume -f worm_log_volume
worm_log_volume is the name of the log volume. You can assign any SnapLock Compliance volume on a storage system as the log volume.
Example
snaplock log volume -f logvol
logvol is the name of the SnapLock log volume that you want to set.
Note: The -f option force-changes the SnapLock log volume.
- To check the log status of all the active log files on a volume, enter the following command: snaplock log status worm_log_volume
Example
snaplock log status logvol
logvol is the name of the SnapLock log volume.