Community

Subscribe
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

aushafs1bSmiley Tonguedm          aushafs2bSmiley Tonguedm                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

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.

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 ?

Re: Broken? snapmirrors - how to delete them ?

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

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.

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.

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

aushafs1bSmiley Tonguedm          aushafs2bSmiley Tonguedm                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 * *

aushafs1bSmiley Tonguedm aushafs2bSmiley Tonguedm - 30 0,12 * *

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

Any other ideas ?

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”?

Re: Broken? snapmirrors - how to delete them ?

Not much - it just says "job not found"

Re: Broken? snapmirrors - how to delete them ?

Can you send me the output of  options snapmirror.enable