ONTAP Discussions

Snapmirror Volume Deletion

CLOUDMINER

I have a snapmirror running at the volume level where I have a few snapshots of a LUN.  If I delete the volume on the source side is the volume on the target side deleted and how long does it take?

 

Thanks!

1 ACCEPTED SOLUTION

Naveenpusuluru

Hi @CLOUDMINER

 

If you delete the volume on source then volume on destination will not be deleted. You have to delete it manually.

 

 

First you have to follow the below process.

 

Dest> snapmirror quiesce <destination volumename>

Dest> snapmirror break <destination volumename>

 

Source> snapmirror destinations

 

source> snapmirror release <source volume name>

 

delete schedule entry on snapmirror config file

 

rdfile /etc/snapmirror.conf

 

take the output of the above command and paste it in note pad edit it and paste it back to snapmirror config file

 

wrfile /etc/snapmirror.conf

 

snapmirror is deleted now. You can delete source and destination volumes if you want.

 

 

View solution in original post

2 REPLIES 2

Naveenpusuluru

Hi @CLOUDMINER

 

If you delete the volume on source then volume on destination will not be deleted. You have to delete it manually.

 

 

First you have to follow the below process.

 

Dest> snapmirror quiesce <destination volumename>

Dest> snapmirror break <destination volumename>

 

Source> snapmirror destinations

 

source> snapmirror release <source volume name>

 

delete schedule entry on snapmirror config file

 

rdfile /etc/snapmirror.conf

 

take the output of the above command and paste it in note pad edit it and paste it back to snapmirror config file

 

wrfile /etc/snapmirror.conf

 

snapmirror is deleted now. You can delete source and destination volumes if you want.

 

 

View solution in original post

CLOUDMINER

Thanks - much appreciated.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public