XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Too many snapshots

    Scheduled Pinned Locked Moved Backup
    10 Posts 4 Posters 40 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      McHenry
      last edited by

      I have 15 VMs included in a CR backup job.

      Recently, I have seen notifications of "too many snapshots".

      Whereas previously, each CR job would create a new VM, it appears now that each CR job creates a new snapshot.
      dfa9ec67-fd32-4eee-a19c-e54ba10a8ec3-image.jpeg

      The job itself appears to be configured correctly
      f077259d-af28-4b85-9283-80dd227a313e-image.jpeg

      I am sure I have a setting wrong, but I cannot find which one.

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Andrew Top contributor @McHenry
        last edited by

        @McHenry What do you have Number of NBD connection per disk set to?

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          McHenry @Andrew
          last edited by

          @Andrew

          Is this it?

          44abaea6-12cc-4310-8aa0-82a66ef69a0e-image.jpeg

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            Pilow @McHenry
            last edited by

            @McHenry for TOO MANY SNAPSHOTS in this case, better look the RETENTION applied to this CR schedule

            how many retention points do you have in the schedule of this job ?

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              McHenry @Pilow
              last edited by

              @Pilow

              Currently set to 15 on one schedule and 1 on the other schedule
              6222e208-fb69-42bd-90af-2c5c97179263-image.jpeg

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                Pilow @McHenry
                last edited by Pilow

                @McHenry could you screenshot the SNAPSHOTS tab of a problematic VM ?

                the new backup & CR code changed the way it is handled as you understood... no more "one VM per replica point", but "one VM with a snapshot per replica point"

                you should see 16 snapshots on the VM ?

                EDIT : my bad, its the first screenshot you provided... indeed 16 snapshots

                I do not remember the snapshots limit per VM (50?) , but you seem to bee far from it

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  Pilow @Pilow
                  last edited by

                  the limit enforced by XOA is 30

                  https://docs.xen-orchestra.com/backup_troubleshooting?utm_source=chatgpt.com#vdi-chain-protection

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    McHenry @Pilow
                    last edited by

                    @Pilow

                    Thank you. I did not know this change had been made.

                    So now I have the master VM with a snapshot for each backup schedule.
                    dc816079-74a3-4c24-8367-d150206d920f-image.jpeg

                    And a CR created VM with 16 snapshots.
                    d3953d63-e368-49bf-9a5d-a6fb87ad5687-image.jpeg

                    db8e1103-04ef-4c0f-aff2-5757bf767cc2-image.jpeg

                    I wonder why the health check shows too many snapshots as I am well under 30 per VM
                    5ca56285-69cb-4c2e-a648-208feaadaae6-image.jpeg

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Pilow @McHenry
                      last edited by

                      @McHenry could be another cap limit on the SR
                      can you screenshot homepage GENERAL tab of HST150 SR ?

                      how many VDIs present ?
                      what type of SR is it ?

                      1 Reply Last reply Reply Quote 0
                      • J Online
                        jr-m4
                        last edited by

                        Throwing my two cents into the hat, as well.

                        I had a similar situation. Snapshots would't be rotated out of retention, regardless of what I set on the retention setting (on a subset of VMs ie not all of the).. The thing that solved it for my, was to recreate the affected schedule.
                        Do note that this will mark the previous backups taken by that technically deleted schedule, as being abandoned/orphaned.

                        But after I did this, snapshots would be properly rotated as expected.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post