Periodic Snapshot Tasks deleted permanently when pool is detached
Description
Problem/Justification
None
Impact
None
is duplicated by
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Show:

William Gryzbowski November 4, 2019 at 2:43 PM
This has been handled in related ticket.
Thanks

Winnie Linnie November 2, 2019 at 12:57 PM
Going through the logs, a lot of personal information is found within: email addresses, names/usernames, file names, folder names, rsync results (of many revealing file names.) Is it all really necessary when this issue is not system-specific, and has been confirmed by others, and it is easy to reproduce the bug (as described step-by-step) in the bug report?

Dru Lavigne November 1, 2019 at 4:10 PM
please attach a debug (System -> Advanced -> Save debug) to the Private Attachments section of this ticket.
Duplicate
Pinned fields
Click on the next to a field label to start pinning.
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created November 1, 2019 at 1:25 PM
Updated July 1, 2022 at 4:43 PM
Resolved November 4, 2019 at 2:43 PM
FreeNAS 11.2 U6
(Bug exists as early as FreeNAS 9.x series)
Forum post for reference:
https://www.ixsystems.com/community/threads/periodic-snapshot-tasks-permanently-disappear-when-export-import-pools.79950
Reddit post, shows bug has existed for a while:
https://www.reddit.com/r/freenas/comments/an0v8n/periodic_snapshot_tasks_went_missing/
Detatching a pool permanently deletes all associated periodic snapshot tasks.
How to recreate:
1) Have as many Periodic Snapshot Tasks created for pools and datasets.
2) Detach any pool, regardless of number of vdevs or mirror/RaidZ, regardless if SSD, HDD, or external USB.
3) Observe that the Periodic Snapshot Tasks for this recently detached pool are missing.
4) Re-attach the same pool, expecting the Periodic Snapshot Tasks to reload.
5) Instead observe that they do not reappear, as they have been deleted permanently.
This can also cause issues with snapshots' lifetime, such as "Keep for 3 months" or "Keep for 2 weeks".