When disk replication is disabled, you cannot delete a snapshot

JohanaB

New Member
Nov 18, 2022
6
2
3
If I have disabled replication on one of my disks and create a snapshot, it is not possible to delete the snapshot.

Error message:
-----------------------------------
TASK ERROR: snapshot 'Test' needed by replication job '145-0' - run replication first
-----------------------------------

Even after the next replication job completes, the snapshot cannot be deleted. The only option is to enable replication of *ALL* disks and complete the replication, then the snapshot can be deleted.

It is a bug or a feature?
 
If I have disabled replication on one of my disks and create a snapshot, it is not possible to delete the snapshot.

Error message:
-----------------------------------
TASK ERROR: snapshot 'Test' needed by replication job '145-0' - run replication first
-----------------------------------

Even after the next replication job completes, the snapshot cannot be deleted. The only option is to enable replication of *ALL* disks and complete the replication, then the snapshot can be deleted.

It is a bug or a feature?
Did you tried to do this via cmd?
Like, zfs -t snapshot list to see the volumes and than zfs destroy to remove only the snapshot taken ??
 
Did you tried to do this via cmd?
Like, zfs -t snapshot list to see the volumes and than zfs destroy to remove only the snapshot taken ??
Yes, if I remember correctly, I deleted the snapshot and manually edited the configuration files. But I was asking if it was a bug or a feature, not how to fix it. If it's a feature, OK, I'll delete it next time from the command prompt too. If it's a bug, it would be advisable to fix it.
Anyway, it took half a year for someone to respond, so this topic is probably not interesting. And I've put it out of my mind, too.