ONTAP Discussions

Powershell modules to remove snapmirror does not clean base snapshot

CAPATEL_NET1984

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

Re: Powershell modules to remove snapmirror does not clean base snapshot

moep

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.

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public