Assigning a SnapLock log volume creates the system_log
file in the volume. The system_log
file stores the system-related SnapLock events such as the addition of the
compliance user or a change to the SnapLock log volume.
Before You Begin
You need to have a SnapLock license and 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 system Compliance log volume, enter the following command: snaplock log volume
This command gets the name of the current SnapLock log volume.
- To set the SnapLock log file 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 to force-change 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.