Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

snapshot retention policy is being ignored

Description

I was told on the forums to raise the issue here. ( https://www.ixsystems.com/community/threads/snapshot-retention-policy-is-being-ignored.87091/#post-604345 )

I have 5 periodic snapshot tasks. I had 3 replication tasks to different destinations. Things were working normally where the snapshots were kept for 7 days, then deleted. Remote snapshots matched. I added a new destination that took longer than 7 days to replicate. This caused all 5 periodic snapshot tasks to hold snapshots longer than 7 days. The replication tasks started replicating more than 7 day replications to all the destinations.

The new destination replication has finally caught up a few days ago. But I have net to see any snapshots be trimmed by the system to have only kept the last 7 days. Nor have any snapshots been trimmed on the destination replication targets.

Back in the day with the old legacy replication this was never a problem. I'm not sure exactly when the problem popped up.

My expectations would be that "Hold pending snapshots" would hold snapshots longer than 7 days while replication is going. When all replication jobs are "Success", the system would trim old snapshots and then ultimately trim the remote snapshots to match.

Example snapshot:

Example of one of my replication tasks:

Snapshots on Freenas Server:

Snapshots on remote server:

Example snapshot:

Example of one of my replication tasks:

Snapshots on Freenas Server:

Snapshots on remote server:

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk May 12, 2021 at 7:49 AM

Bug Clerk May 11, 2021 at 1:39 PM

Jeff Volkenant May 7, 2021 at 9:52 PM

Here is the debug file from (System → Advanced → Save Debug)

Vladimir Vinogradenko May 7, 2021 at 9:25 PM

can you please upload a debug? (System → Advanced → Save Debug)

Jeff Volkenant May 7, 2021 at 5:05 PM

Yes.  I have since reinstalled that box on 12.0-U3 middle of last month and restored my configuration and I still have to remove snapshots locally and on my two remote freebsd 13 boxes via a cron job.

Complete

Details

Assignee

Reporter

Affects versions

Priority

More fields

Katalon Platform

Created August 31, 2020 at 2:30 PM
Updated July 1, 2022 at 4:55 PM
Resolved May 12, 2021 at 7:49 AM

Flag notifications