You can create a volume SnapMirror relationship for a FlexVol volume.
Steps
- To create SnapLock Compliance aggregate source, enter the following command:
aggr create aggr_name -L compliance 3
Example
aggr create wormaggrsrc -L compliance 3
- To create a volume in that aggregate, enter the following command:vol create vol_name aggr_name 20g
Example
vol create src
wormaggrsrc 20g
- To create a SnapLock Compliance aggregate destination, enter the following command:
aggr create aggr_name -L compliance 3
Example
aggr create wormaggrdst -L compliance 3
- To create a volume in that aggregate, enter the following command
vol create vol_name aggr-name 20g
Example
vol create dst
wormaggrdst 20g
- To initialize the SnapMirror relationship between the source and the destination, enter the following command:snapmirror initialize -S src dst