ONTAP Discussions

Highlighted

Broken? snapmirrors - how to delete them ?

Hi all

On my filer, I was doing some backup testing, and now have these snapmirrors showing, which I can't delete

aushafs2b> snapmirror status

Snapmirror is off.

Source                 Destination                  State          Lag        Status

aushafs1b:admin        aushafs2b:admin              Snapmirrored   02:35:19   Idle

aushafs1b:catiax       aushafs2b:catiax             Snapmirrored   10:35:19   Idle

aushafs1b:pdm          aushafs2b:pdm                Snapmirrored   10:05:18   Idle

aushafs1b:zen          aushafs2b:zen                Snapmirrored   09:55:20   Idle

aushafs2b:admin        aushafs2b:NDMP_LOCAL_005614  Source         -          Idle

aushafs2b:images       aushafs2b:NDMP_LOCAL_005617  Source         -          Idle

aushafs2b:domino2_vol  aushafs2b:nrst1a             Source         -          Idle

The first 4 entries are fine - they are my mirrors between systems.

But I want to cleanup the last three.

As far as I can tell, there are no backup or smtape sessions still active.

Thanks,

Hardy

23 REPLIES 23
Highlighted

Re: Broken? snapmirrors - how to delete them ?

Use "snapmirror release" to remove old SnapMirror snapshots. You may also need to remove them from snapmirror.conf.

Highlighted

Re: Broken? snapmirrors - how to delete them ?

Thanks - This worked on the smtape snapmirror entries, but the not those still displayed in the output (above)

Any other ideas ?

Highlighted

Re: Broken? snapmirrors - how to delete them ?

Use snapmirror release srcpath dst_filer:dstpath command to release the snapmirror relationship from source filer.

Highlighted

Re: Broken? snapmirrors - how to delete them ?

Check if you have leftover snapmirror snapshots on destination - manually remove them (they should be unlocked after snapmirror break). Those snapshots are not removed automatically.

Highlighted

Re: Broken? snapmirrors - how to delete them ?

Can you show us the output from  "snap list"  admin / images and domino2_vol  ?

If you have no orphaned records within the  "snapmirror.conf" file,  you have some relations within old snapshots.

btw.  I wonder,  your snapmirror is set to off,  although your idletime is not so old.

Highlighted

Re: Broken? snapmirrors - how to delete them ?

Snap List output:

Volume images
  %/used       %/total  date          name
----------  ----------  ------------  --------
  0% ( 0%)    0% ( 0%)  Feb 03 00:00  weekly.0
  0% ( 0%)    0% ( 0%)  Dec 09 12:03  aushafs2b(1785237204)_images.1109

Volume admin
  %/used       %/total  date          name
----------  ----------  ------------  --------
  0% ( 0%)    0% ( 0%)  Feb 05 08:00  aushafs2b(1785237204)_admin.1792
  0% ( 0%)    0% ( 0%)  Feb 05 00:00  nightly.0
  0% ( 0%)    0% ( 0%)  Feb 05 00:00  aushafs2b(1785237204)_admin.1791
  0% ( 0%)    0% ( 0%)  Feb 04 19:00  hourly.0
  0% ( 0%)    0% ( 0%)  Feb 04 15:00  hourly.1
  0% ( 0%)    0% ( 0%)  Feb 04 13:00  hourly.2
  0% ( 0%)    0% ( 0%)  Feb 04 11:00  hourly.3
  0% ( 0%)    0% ( 0%)  Feb 04 09:00  hourly.4
  0% ( 0%)    0% ( 0%)  Feb 04 00:00  nightly.1
  0% ( 0%)    0% ( 0%)  Feb 03 19:00  hourly.5
  0% ( 0%)    0% ( 0%)  Feb 03 00:00  weekly.0
  0% ( 0%)    0% ( 0%)  Feb 02 00:00  nightly.2
  0% ( 0%)    0% ( 0%)  Feb 01 00:00  nightly.3
  0% ( 0%)    0% ( 0%)  Jan 31 00:00  nightly.4
  0% ( 0%)    0% ( 0%)  Jan 30 00:00  nightly.5
  0% ( 0%)    0% ( 0%)  Jan 29 00:00  nightly.6
  0% ( 0%)    0% ( 0%)  Jan 27 00:00  weekly.1
  0% ( 0%)    0% ( 0%)  Jan 20 00:00  weekly.2

Volume domino2_vol
working...

No snapshots exist.

I think snapmirror was set off when I noticed the issue.

Now though, it is on.

aushafs2b> snapmirror status

Snapmirror is on.

Source                 Destination                  State          Lag        Status

aushafs1b:admin        aushafs2b:admin              Snapmirrored   00:19:40   Idle

aushafs1b:catiax       aushafs2b:catiax             Snapmirrored   08:19:37   Idle

aushafs1b:pdm          aushafs2b:pdm                Snapmirrored   07:49:37   Idle

aushafs1b:zen          aushafs2b:zen                Snapmirrored   07:39:39   Idle

aushafs2b:admin        aushafs2b:NDMP_LOCAL_005614  Source         -          Idle

aushafs2b:images       aushafs2b:NDMP_LOCAL_005617  Source         -          Idle

aushafs2b:domino2_vol  aushafs2b:nrst1a             Source         -          Idle

aushafs2b>

snapmirror.conf looks fine too

aushafs2b> rdfile /etc/snapmirror.conf

#Regenerated by registry Wed Jan 15 00:39:45 GMT 2014

aushafs1b:catiax aushafs2b:catiax - 0 0,12 * *

aushafs1b:admin aushafs2b:admin - 0 0,8,16 * *

aushafs1b:pdm aushafs2b:pdm - 30 0,12 * *

aushafs1b:zen aushafs2b:zen - 40 0,12 * *

Any other ideas ?

Highlighted

Re: Broken? snapmirrors - how to delete them ?

For images it should be enough to remove leftover snapshot “aushafs2b(1785237204)_images.1109”. Others two are really interesting. Could you post output of “smtape status -l”?

Highlighted

Re: Broken? snapmirrors - how to delete them ?

Not much - it just says "job not found"

Highlighted

Re: Broken? snapmirrors - how to delete them ?

Can you send me the output of  options snapmirror.enable

Highlighted

Re: Broken? snapmirrors - how to delete them ?

Can you post the output of "snapmirror status -l" ?

Highlighted

Re: Broken? snapmirrors - how to delete them ?

Here's all the snapmirror options

aushafs2b> options snapmirror

snapmirror.access            legacy

snapmirror.checkip.enable    off

snapmirror.delayed_acks.enable on

snapmirror.enable            on

snapmirror.log.enable        on

snapmirror.vbn_log_enable    off        (value might be overwritten in takeover)

snapmirror.volume.local_nwk_bypass.enable on

aushafs2b>

Highlighted

Re: Broken? snapmirrors - how to delete them ?

again:   pls output the command:

"snapmirror status -l aushafs2b:domino2_vol  aushafs2b:nrst1a"

  

thx


Re: Broken? snapmirrors - how to delete them ?

aushafs2b> snapmirror status -l aushafs2b:domino2_vol  aushafs2b:nrst1a
Snapmirror is on.

Source:                 aushafs2b:domino2_vol
Destination:            aushafs2b:nrst1a
Status:                 Idle
Progress:               -
State:                  Source
Lag:                    -
Mirror Timestamp:       -
Base Snapshot:          -
Current Transfer Type:  Store
Current Transfer Error: -
Contents:               -
Last Transfer Type:     -
Last Transfer Size:     -
Last Transfer Duration: -
Last Transfer From:     -
aushafs2b>

Any ideas ?

Thx

Highlighted

Re: Broken? snapmirrors - how to delete them ?

hi all,

go to designation end follow the below steps,

snapmirror status-- check it is snapmirror on status (continue follow steps)

which u want to remove entry in this output ensure.

snapmirror break designation volume

goto ---> rdfile /etc/snapmirror.conf --take this output in notepad

in notepad output--> which line of snapmirror you want to remove ensure and put # comment symbol.

wrfile /etc/snapmirror.conf--> paste the commented output and ctrl+c to save and exit

now u can run snapmirror status all should be clear.

Highlighted

Re: Broken? snapmirrors - how to delete them ?

Thanks, but this doesn't help either

aushafs2b> snapmirror break aushafs2b:nrst1a

snapmirror break:  nrst1a: destination is offline, is restricted, or does not exist

aushafs2b> rdfile /etc/snapmirror.conf

#Regenerated by registry Wed Jan 15 00:39:45 GMT 2014

aushafs1b:catiax aushafs2b:catiax - 0 0,12 * *

aushafs1b:admin aushafs2b:admin - 0 0,8,16 * *

aushafs1b:pdm aushafs2b:pdm - 30 0,12 * *

aushafs1b:zen aushafs2b:zen - 40 0,12 * *

aushafs2b>

The entries are not in the conf file, but still show in the status

Source                 Destination                  State          Lag        Status

aushafs1b:admin        aushafs2b:admin              Snapmirrored   05:36:54   Idle

aushafs1b:catiax       aushafs2b:catiax             Snapmirrored   01:36:58   Idle

aushafs1b:pdm          aushafs2b:pdm                Snapmirrored   01:06:59   Idle

aushafs1b:zen          aushafs2b:zen                Snapmirrored   00:56:59   Idle

aushafs2b:admin        aushafs2b:NDMP_LOCAL_005614  Source         -          Idle

aushafs2b:images       aushafs2b:NDMP_LOCAL_005617  Source         -          Idle

aushafs2b:domino2_vol  aushafs2b:nrst1a             Source         -          Idle

aushafs2b>

I know its not windows, but what about a reboot ?

Cloud Volumes ONTAP
Review Banner
All Community Forums
Public