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

    cleanVm: incorrect backup size in metadata

    Scheduled Pinned Locked Moved Xen Orchestra
    20 Posts 11 Posters 5.9k Views 11 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.
    • olivierlambertO
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Last time I asked @florent it's a non-problematic message, I think it will be removed in the future.

      A 1 Reply Last reply
      Reply Quote 0
      • A
        abudef @olivierlambert
        last edited by abudef

        It's really confusing. I'm using the current version of XO and I see this in the log:

        cbe19d73-1616-409e-8331-b8e36d2b3147-obrazek.png

        The value in the file mentioned is the expected value and the backup file itself is the appropriate size:

        48b22e8d-25da-4129-ac24-d67fef04df86-obrazek.png

        eba47e81-c834-42a2-815a-a9849d4ca358-obrazek.png

        Xen Orchestra, commit 494ea

        As if XO calculates the value before the backup is complete and the file has time to grow a bit? 🤔

        1 Reply Last reply
        Reply Quote 0
        • olivierlambertO
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          Hi,

          Last time I asked the answer was "you can safely ignore this". Keeping @florent in the loop though.

          M 1 Reply Last reply
          Reply Quote 0
          • M
            manilx @olivierlambert
            last edited by

            @olivierlambert All my backups have and have had them all the time. I ignore them but it's quite disconcerting 😉

            1 Reply Last reply
            Reply Quote 0
            • A
              abudef
              last edited by

              It looks like this issue occurs only when saving the backup to non-block storage. When saving to block storage ("Store backup as multiple data blocks instead of a whole VHD file: ON"), it does not, at least in my environment.

              1 Reply Last reply
              Reply Quote 0
              • N
                noritaka971
                last edited by

                Hi,

                Last back up have always this message (XOA 5.109).
                And incrémental backup have a Full Size... (ticket open on support)

                693d7e11-d1c4-4bd7-80be-f421ce4136c9-image.png

                D 1 Reply Last reply
                Reply Quote 0
                • D
                  DustinB @noritaka971
                  last edited by

                  @noritaka971 said in cleanVm: incorrect backup size in metadata:

                  Hi,

                  Last back up have always this message (XOA 5.109).
                  And incrémental backup have a Full Size... (ticket open on support)

                  693d7e11-d1c4-4bd7-80be-f421ce4136c9-image.png

                  I've had this issue for months with XOA and I've been told to not worry about it. Surely there is some way to recalculate the size of the VM backup to address this warning.

                  N 1 Reply Last reply
                  Reply Quote 0
                  • N
                    noritaka971
                    last edited by

                    This post is deleted!
                    1 Reply Last reply
                    Reply Quote 0
                    • N
                      noritaka971 @DustinB
                      last edited by

                      @DustinB
                      The problem with this issue are not the message, but each incremental backup have a full size backup on small infrastructure (2/3To of VMs) this is a little problem, but on more larger (10To) it's beginning to be boring.

                      B 1 Reply Last reply
                      Reply Quote 0
                      • B
                        bufanda @noritaka971
                        last edited by

                        @noritaka971 You sure it does always a full backup. I have this isuue for ages and looking at the backup protocols it's only doing the deltas, never a full backup when not supposed to.

                        N 1 Reply Last reply
                        Reply Quote 0
                        • N
                          noritaka971 @bufanda
                          last edited by

                          @bufanda
                          I'm sure all my backup since this bug was appear in my system is Full backup, I don't know if the two issues are related but they appeared at the same time.

                          K 1 Reply Last reply
                          Reply Quote 0
                          • K
                            k11maris @noritaka971
                            last edited by

                            I am seeing this message, too. This is the first time I try out delta backups. I only did one backup so far, so this is a full backup. Storage is NFS.

                            U 1 Reply Last reply
                            Reply Quote 0
                            • U
                              udegel @k11maris
                              last edited by

                              @k11maris Same on my side. Delta backup for all VMs show this message.
                              Bildschirmfoto 2025-11-21 um 08.30.44.png

                              1 Reply Last reply
                              Reply Quote 0
                              • H
                                hoh
                                last edited by

                                I got bored by this "cleanVm: incorrect backup size" warnings. See https://github.com/vatesfr/xen-orchestra/pull/9637 So far, the fix works fine in our infra, no more warnings.

                                Keeping @florent and @olivierlambert in the loop.

                                M 1 Reply Last reply
                                Reply Quote 5
                                • M
                                  manilx @hoh
                                  last edited by

                                  @hoh This is SOOO long in the tooth........... Always was annoying. Thx for findinf a fix, looking forward to it.

                                  poddingueP 1 Reply Last reply
                                  Reply Quote 0
                                  • poddingueP
                                    poddingue Vates 🪐 @manilx
                                    last edited by

                                    Good news, I think this one's finally sorted: the cleanVm: incorrect backup size in metadata warning was fixed in XO 6.4.0 (released end of April) via PR #9637, which makes incremental remote backups record the actual VHD size instead of the slightly-off metadata value.
                                    If you're on 6.4.0 or later, it should be gone, so worth confirming your version and upgrading if you're behind. @manilx, you were waiting on this one.

                                    M 1 Reply Last reply
                                    Reply Quote 1
                                    • M
                                      manilx @poddingue
                                      last edited by

                                      @poddingue Not seeing it anymore ✌

                                      1 Reply Last reply
                                      Reply Quote 2

                                      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