ONTAP Discussions

7mode - deleting snapshot on snapmirror target volumes




my filer is [NetApp Release 8.2.5 7-Mode], i am using it as backup, i have created volumes and used it as snapmirror targets but the problem is aggregate is almost full and i need to delete some snapshots from the target volumes, when i tried i recieved the error: Snapshot operation not allowed on a read-only volume, is there a way i can forcibly delete these snapshots without touching the source filer or breaking the snapmirror ?


Re: 7mode - deleting snapshot on snapmirror target volumes


You can try first to identify the snapshot owner:



snap list -b <vol>


Displaying space reclaimed from deleted Snapshot copies:



snap reclaimable <vol>  <snapshot name>


Manual deletion of a busy or locked Snapshot copy:



I do not recommend doing this if you dont know the implications. it can break the possibility to restore from the destination in an disaster event.


Good luck!

Jonathan Colón | Blog | Linkedin

Re: 7mode - deleting snapshot on snapmirror target volumes


One thing that can make a difference too is the snapshot size. If you have a high change rate, then consider identifying why there is a high change rate. Do you have swap/tempdb files in the same volume as the rest of the data? Do you lump your data together into a singular bucket? Having smaller buckets can help, and reduce overall snapshot size.


You'll probably need to delete space on the source to free up space on the destination unfortunately. SnapMirror locks the volume down so it can't be used until it is released.

Re: 7mode - deleting snapshot on snapmirror target volumes


You cannot delete snapshots from SnapMirror Destination volumes without breaking the relationship and making the volume RW.


View solution in original post

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