We've just migrated from an old FAS 3020 to our new FAS 3140. Data synchronisation was done with snapmirror. On the new filer we have disabled snapmirror with "snapmirror off" and broke the relationships for each volume with "snapmirror break" to get a read/writeable volume. The old FAS 3020 was shut down and the new FAS 3140 got the same name and IP address.
Now "snapmirror status" shows all the mirrored volumes to be "broken-off" with source and destination on the same filer name:
How can one get rid of these entries? I already removed the schedules from snapmirror.conf. The "snapmirror release" command says this:
adnnfs03> snapmirror release app adnnfs03:app snapmirror release: app adnnfs03:app: No release-able destination found that matches those parameters. Use 'snapmirror destinations' to see a list of release-able destinations.
Maybe I should have this done before breaking snapmirror and shutting down the new filer.The migrated volumes are online and read/writeable.
Yes, delete the base snapshots and remove all entries in /etc/snapmirror.conf which still reference the old relationship.
NetApp should really do something about this, like adding a new "snapmirror destroy" command which does that, because if you have multiple relationships from one volume to others (or even syncs in both direction after a snapmirror resync from dest to source) it gets complicated easily.
The easiest way of determining the correct snapshot to delete is by doing a manual "snapmirror update" and deleting all but the newest base snapshot on the affected volumes
Re: How to remove snapmirror broken-off states after filer migration?
I've also noticed that the Powershell commandlets for snapmirror work better in these situalations as well. In perticular the remove-nasnapmirror commandlet. It actually gave me an error saying the snapmirror relationship didn't exist but it cleared it out of the "snapmirror status" list which was the result I was looking for. It also gives you more usefull information for the snapmirror destinations with the get-nasnapmirrordestination. It tells you which snapshot is maintaining the snapmirror relationship.