Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Release snapshot for excluded volume in SVM-DR relationship
2017-02-01
01:39 PM
14,742 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So it goes like this:
I have a SVM-DR snapmirror relationship.
This relationship contained a volume which had too high daily delta to be replicated within 24hous.
So I've excluded the volume from replication, alowing us to redesign things and stuff, before we reintroduce the volume to the relationship.
The problem now is that I want to remove the snapmirror snapshot from the volume, which I can't since it is snapmirror-locked.
Trying to release the relationship for this single volume fails since this is a SVM-DR relationship:
Error: command failed: Relationship with destination "xxx" is not a valid relationship for this operation because it is a constituent relationship of a vserver SnapMirror relationship.
So... how can I unlock the snapmirror snapshot on the source volume?
Only way I can imagin is to break and release the relationship, delete the snapshot and re-create the relationship with the volume pre-excluded.
But I'm a coward and don't want to try this, since a fresh initialize would take weeks to complete.
Does anybody have an idea?
Solved! See The Solution
1 ACCEPTED SOLUTION
MagicSteven has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try the following:
1) Logon to the source system through the command line
2) Issue the command "set diag"
3) Issue the command “snapshot show -vserver vservername -volume volumename”
4) Issue the command "snapshot delete -vserver vservername -volume volumename -snapshot snapshotnamefromstep3here -ignore-owners true”
5) Responded with a y to question "Warning: This Snapshot copy is currently used as a reference Snapshot copy by one or more SnapMirror relationships. Deleting the Snapshot copy can cause future SnapMirror operations to fail. Are you sure you want to delete
6) Logon to the destination cluster and run command "snapmirror resync -destination-path -destinationvserver:"
a) This should only sync changes from the last snapshot
2 REPLIES 2
MagicSteven has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try the following:
1) Logon to the source system through the command line
2) Issue the command "set diag"
3) Issue the command “snapshot show -vserver vservername -volume volumename”
4) Issue the command "snapshot delete -vserver vservername -volume volumename -snapshot snapshotnamefromstep3here -ignore-owners true”
5) Responded with a y to question "Warning: This Snapshot copy is currently used as a reference Snapshot copy by one or more SnapMirror relationships. Deleting the Snapshot copy can cause future SnapMirror operations to fail. Are you sure you want to delete
6) Logon to the destination cluster and run command "snapmirror resync -destination-path -destinationvserver:"
a) This should only sync changes from the last snapshot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks that's it.
I can't believe I didn't try that... I tried one time to set the owner of the snapshot to null/empty string, but I didn't think to just delete the snapshot
Appreciate the help! Thanks again!
