"For Infinite Volumes and Vservers, you must create SnapMirror relationships between Infinite Volumes or Vservers by using the snapmirror create command before you run the snapmirror resync command. The snapmirror resync command does not implicitly create the relationship."
Does this also apply for FlexGroup volumes? Ontap 9.1P16
I am deleting a relationship in order to be able to initialize the source FlexGroup data to a different destination. Since I can not have the same source be part of more than one relationship I will be deleting the existing relationship.
My requirement is to retain the current destination FlexGroup volume in the event I need to backout or revert to the original relationship as part of my backout plan - resyncing the source with the original destination after re-creating the relationship.
This is based on the flexvol understanding but I am guessing (not 100% sure) it should work with flex-group as well.
The key switch to use when deleting relationship is to use use: '-relationship-info-only true' [With this switch : The cleanup of Snapshot copies is bypassed and only the source relationship information is removed.]
In Short: [You can do this by GUI as well) 1) Go to relationship tab. 2) Break it 3) Delete it, first check-box 'ok' to delete relationship (select that) but don't select another check-box 'ok to release base snapshot blah blah. This is equivalent to '-relationship-info-only true'. In other words, we want to keep the 'base-line snap' memory intact. This will allow you to have the destination volume data as well as all snaps intact. 4) Create a new relationship with destination and carry on from there.
If incase you want me to reverse then,
5) delete the new existing relationship ONLY. 6) Re-create the relationship between original source and original destination. 7) Go to GUI again, relationship tab - You should see the relationship you created in step 6. From the GUI option : Select 'resync', this will re-enable the mirroring without baselining all the data.