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

    Backup failures after VHD to QCOW2 conversion

    Scheduled Pinned Locked Moved Unsolved Backup
    11 Posts 4 Posters 611 Views 5 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.
    • poddingueP
      poddingue Vates 🪐 @SeriouZ
      last edited by

      I don't know the QCOW2 side well enough to say for sure, but your symptoms look close to a thread from last month: https://xcp-ng.org/forum/post/108888 .
      There, @dthenot explained that with QCOW2 the tapdisk process holding the disk isn't stopped the way it is for VHD, and that the fixes landed in sm-3.2.12-25.1.

      Could you post the output of rpm -q sm blktap from both hosts? "Updated" can mean a few different package sets, and that would show whether you already have those fixes or are hitting something new.
      The SR_BACKEND_FAILURE_1200 and the VBDs still attached to snapshot VDIs in dom0 sound like something @Team-Storage will want to look at either way. 🤔

      1 Reply Last reply
      Reply Quote 0
      • S
        SeriouZ
        last edited by

        @poddingue said:

        rpm -q sm blktap

        Both hosts have the following versions installed:

        sm-3.2.12-25.2.xcpng8.3.x86_64
        blktap-3.55.5-12.3.xcpng8.3.x86_64
        
        poddingueP 1 Reply Last reply
        Reply Quote 1
        • poddingueP poddingue marked this topic as a question
        • poddingueP
          poddingue Vates 🪐 @SeriouZ
          last edited by

          Thanks for the versions. 👍
          If I read the changelogs right, sm-3.2.12-25.2 is one build after the 25.1 that @dthenot mentioned and still carries its QCOW2 patches, and the release note for blktap-3.55.5-12.3 says it fixed a tapdisk crash during backups (https://xcp-ng.org/forum/post/109336).
          So unless I missed one, you already have every fix I know about.
          I think this might be a different bug. I can't tell from here why tap-ctl close times out on those snapshot disks, so that one is for @Team-Storage.
          I'd guess the SMlog from both hosts around one failed run is the first thing they'll ask for.

          1 Reply Last reply
          Reply Quote 1
          • S
            SeriouZ
            last edited by

            Thanks for your help! I have the SMlogs from both hosts ready, but they’re too large to upload here, even compressed

            Whats the best way to share them with you or Team-Storage? 😃

            J 1 Reply Last reply
            Reply Quote 0
            • J
              john.c @SeriouZ
              last edited by john.c

              @SeriouZ said:

              Thanks for your help! I have the SMlogs from both hosts ready, but they’re too large to upload here, even compressed

              Whats the best way to share them with you or Team-Storage? 😃

              @seriouz Have you tried using zstd at a high or ultra compression level, to see if you can get it smaller?

              You may need to use a Vates recommended or provided cloud temporary file storage service, outside of attaching to your forum post or PM!

              1 Reply Last reply
              Reply Quote 0
              • S
                SeriouZ
                last edited by

                Hi everyone

                Here are the logs (anonymized) for one complete backup run.
                Thanks for taking a look!

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

                  Thanks for sharing those. I can't read SMlogs well enough to add anything useful myself, so this is really one for @Team-Storage.

                  One thing though: if I read the link right, it expires on 23 November, so it would be good if someone grabbed the files before then.

                  1 Reply Last reply
                  Reply Quote 0
                  • S
                    SeriouZ
                    last edited by

                    here is another link valid for 7 days @Team-Storage

                    I also created a new backup job. The initial full backup completed successfully, but the incremental backups after still fail with the same errors as before.

                    1 Reply Last reply
                    Reply Quote 0
                    • S
                      SeriouZ
                      last edited by

                      I noticed that a new SM update candidate sm-3.2.12-25.3 is available with QCOW2 activation and GC cleanup fixes. Both hosts currently run 25.2.

                      Could these fixes be relevant to the tap-ctl close timeouts and snapshot cleanup failures in our logs?

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

                        Ping @Team-Storage

                        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