Monthly Archives: August 2012

How To: Delete a NetApp Snapshot Relationship using OnCommand and CLI

If the schedule is in VMWare, go to the Netapp snapin in VMWare and delete the schedule

Go to the source filer in OnCommand and Quiesce the snapshot
To check that the snapshot is quiesced, log into the dest filer via the CLI and run this command:

Dest-Filer> snapmirror status -l

Source: Source_Filer:nonprod_vol17
Destination: Dest-Filer:nonprod_lun17_vol_Snapmirror
Status: Idle
Progress: –
State: Quiesced
Lag: 02:46:59
Mirror Timestamp: Tue Jul 31 07:03:11 CDT 2012
Base Snapshot: Dest-Filer(0135095600)_nonprod_lun17_vol_Snapmirror.525
Current Transfer Type: –
Current Transfer Error: –
Contents: Replica
Last Transfer Type: Update
Last Transfer Size: 4530884 KB
Last Transfer Duration: 00:00:59
Last Transfer From: Source_Filer:nonprod_vol17

the status will show Quiesce

on the source filer in OnCommand select Break

now run the same command on the dest. you will see that it’s Broken-off:

Dest-Filer> snapmirror status -l

Source: Source_Filer:nonprod_vol17
Destination: Dest-Filer:nonprod_lun17_vol_Snapmirror
Status: Idle
Progress: –
State: Broken-off
Lag: 02:51:34
Mirror Timestamp: Tue Jul 31 07:03:11 CDT 2012
Base Snapshot: Dest-Filer(0135095600)_nonprod_lun17_vol_Snapmirror.525
Current Transfer Type: –
Current Transfer Error: –
Contents: Replica
Last Transfer Type: Update
Last Transfer Size: 4530884 KB
Last Transfer Duration: 00:00:59
Last Transfer From: Source_Filer:nonprod_vol17

Now in OnCommand, the “Delete” button will be available. Delete the SnapMirror relationship and it will delete it on both sides.

you can also check if the snapmirror exists in the dest again. If it does, something went wrong 🙁

Pat yourself on the back!