Apologies - another 'old snapshots not deleting' post, how to identify snapshots actively used for replication

CORE RELATED

Hello all,

Before coming here and bothering you good folk, I did try to look into this myself but to no avail.

I have some datasets with snapshots with a life of 24 weeks. I have some snapshots that appear to be years old, I have already deleted them and it has had no affect on replications (tested on small datasets first, so it wouldn’t be a nuisance to restart replication).

I just wonder if I can use shell/ssh and some commands to investigate which past snapshots are connected to active replications.

I’m aware of…

zfs list -r POOLNAME/DATASET

and

zfs get all /MNT/POOL/DATASET

…but they are the extent of my knowledge.

Thanks in advance,

Chris

P.S. I do fully intend to migrate over to Scale soon and have a test install on bare metal on one machine.

Has the naming schema, schedule, or day/hour/minute of your Periodic Snapshot Tasks ever changed?

The zettarepl tool prunes based on snapshot names, comparing them against the tasks’ schema and rules.

1 Like

Thanks for reading my post :+1:

I can’t access it at the moment, but I don’t believe the those variables have changed, but I will certainly check. Thank you.