ONTAP Discussions

Powershell modules to remove snapmirror does not clean base snapshot

CAPATEL_NET1984
1,942 Views

I have below code

 

Invoke-NcSnapmirrorRelease -Source $vsm.SourceLocation -Destination $vsm.DestinationLocation -Confirm:$false -ErrorAction Stop

 Remove-NcSnapmirror -Source $vsm.SourceLocation -Destination $vsm.DestinationLocation -Confirm:$false -ErrorAction Stop

 

when i remove the snapmirror relationship it does not remove base snapshot  , the relationship type here is DP between two different cluster.

 

is there any option I am missing here?

 

I am running above two from remote cluster side

 

1 REPLY 1

moep
1,767 Views

The Powershell command does the same as running "snapmirror release" on the command line. It is standard behavior that the base snapshot remains on the volume. You will have to delete it yourself afterwards.

Public