You can create a volume SnapMirror relationship for a traditional volume.
Steps
- To create a SnapLock Compliance volume, enter the following command:vol create vol_name [-L [compliance|enterprise]] ndisks[@disk-size]
Example
vol create src_vol -L compliance 3
- To create a SnapLock Compliance destination volume, enter the following command:vol create vol_name [-L [compliance|enterprise]] ndisks[@disk-size]
Example
vol create dst_vol -L compliance 3
- On the destination system, to mark the destination volume as restricted, enter the following command: vol restrict vol_name
Example
vol restrict dst_vol
- To initialize the SnapMirror relationship between the source and the destination, enter the following command: snapmirror initialize -S src_system:src_vol dst_system:dst_vol
src_system is the name of the source system.
src_vol is the volume you want to copy.
dst_system is the name of the destination system.
dst_vol is the destination volume.
Example
snapmirror initialize -S src_vol dst_vol
The snapmirror initialize command initializes the SnapMirror relationship between the source volume src and destination volume dst.