[Electric Eel 24.10.2] After editing snapshot task, old snapshots loose their retention attribute and timestamp

I recently started running v24.10.2 of TrueNAS Scale on bare metal (hardware spec in the sig) on a pool with a single raidz2 vdev.

When setting up my snapshot tasks I noticed a weird behavior (I’d go as far as calling it a “bug”): When I edit a snapshot task that already has some old snapshots and changed e.g. the “minutes” field and save the task, the old snapshots will no longer show “will be destroyed at … by periodic snapshot task”, but rather “Will not be destroyed automatically”.

To reproduce:

Create a snapshot task on a pool, (e.g. here to take one at 3:15pm, a few minutes out)

Wait until a snapshot is taken and look at it. The snapshot will have a retention timestamp and is set to be automatically destroyed at that date and time.

Edit the snapshot task by changing the minutes field (e.g. here from 15 to 16).

Take a look at the previously created snapshot. The retention timestamp is gone and the snapshot is now set to 'Will not be destroyed automatically'

For me this was easy to clean up, as I just have started with a fresh pool, but I could see this being quite a nuisance on an old pool, because it requires a manual cleanup, every time you change a snapshot task. And worse, the cleanup has to happen days/weeks/months later, because you still need those old snapshots around for a while.

I’m happy to create a bug report in github / jira etc., if so desired and someone points me to the proper location.

1 Like

If you believe this is a bug. Use the Feedback / Report a Bug right in the TrueNAS GUI. Looks like a smile icon on upper right of GUI. You can also do it in Forums. Top, upper right is Report a Bug.

1 Like

Thanks so much, SmallBarky. I have created issue NAS-133952.