Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-108336

Delete expiring snapshots after expiration even when changing snapshot task

    XMLWordPrintable

    Details

    • Impact:
      High
    • Support Suite Ticket:
      Multiple. They are all closed to this.

      Description

      When you create a periodic snapshot task, then change something later, the task seems to "forget" that any of the prior ZFS snapshots exist and they end up remaining on the server forever (or until they are manually deleted).  I've had about a dozen tickets on this issue in the last 2 months or so.

       

      I reproduced this on 11.3-U5, and if you create a periodic snapshot task and let it run, it'll do its own cleanup and "just work".  But if I change anything (in my test environment I changed the name of the snapshots that would be generated and changed the retention time) then the old snapshots are immediately "ignored" by the middleware after that. For many customer this means dozens or hundreds of snapshots and they open a support ticket for assistance as they don't want to click a checkbox 100s of times to remove them in the WebGUI.

      Thanks.

        Attachments

        1. 2021-04-20_16h40_16.jpg
          2021-04-20_16h40_16.jpg
          121 kB
        2. debug-20210330095918.tar
          1.76 MB
        3. debug-truenas-20210420162605.tgz
          350 kB
        4. ZFS LIST.txt
          105 kB

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  vladimirv Vladimir Vinogradenko
                  Reporter:
                  joshua Joshua Sirrine
                  Watchers:
                  Anthony Takata, Bill O'Hanlon, Bug Clerk, Joshua Sirrine, Rick Mesta, Vladimir Vinogradenko, William Grzybowski
                  Votes:
                  1 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: