To create a SnapLock
Compliance SnapMirror
relationship, you need to use the
snapmirror initialize command.
Steps
- On the administration host, create or edit the snapmirror.conf
file on the destination system to specify the SnapLock Compliance
volume source and destination.
Example
The following entry specifies
asynchronous mirroring from vol1 of s_system and vol2 of d_system
using the default replication arguments.
s_system:vol1 d_system:vol2 - * * * *
- On the destination system console, enter the following command to create the destination volume:vol create vol2 2
Note: Do not use the
vol create -L command to
create a
SnapLock Compliance volume because
SnapMirror
cannot use it as a destination volume.
- On the destination system console, enter the following command
to mark the volume as restricted:vol restrictvol_name
- On the destination system console, create an initial complete
(baseline) copy of the source on the destination and enter the following command
to start the
mirroring process:
snapmirror initialize -S s_system:vol1 d_system:vol2
After successfully completing the baseline transfer, Data ONTAP
converts the destination volume to a SnapLock Compliance
destination volume before bringing it online.