Community Related Discussions

Delete a snapshot on a destination Vserver DR

Xarli64
383 Views

Hello,

 

I have a snapmirror relationship using a MirrorAndVault policy, without snapshot on sending side, and snapshots only on destination side (created via snapmirror policy rules, on a cron schedule).

 

I had issues at creation, and I used a test rule (snapmirror policy add-rule) to create test snapshots. After fixing those issues, I deleted the test rule (snapmirror policy remove-rule), but now I have a test snapshot that I cannot delete since the vserver is a destination Verser DR :

 

filer-dest::*> volume snapshot delete -vserver my-vserver-dr -volume my_vol -snapshot test.2026-03-06_0957

Error: command failed: This operation is not permitted on a Vserver that is configured as the destination for Vserver DR.

filer-dest::*>

 

Set adv didn't help me (options -force or -ignore-owners).

 

From my understanding, I need to break the snapmirror relationship, delete the snapshot, and resync afterwards.

 

Is that my only solution, or am I missing a solution not requiring me to break the snapmirror relationship (which seems a bit overkill just to remove a snapshot)? And how can I be sure that the vserverdr snapshots used for the snapmirror will be usable to avoid a re-initialization from 0.

 

Thank you in advance.

0 REPLIES 0
Public