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

    " can't compute delta" & "can't connect through NBD, fall back to stream export" after 2026-07-28

    Scheduled Pinned Locked Moved Unsolved Backup
    20 Posts 8 Posters 1.2k Views 7 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.
    • P
      probain @florent
      last edited by

      @florent

      I'm doing more backup runs. And not all of the VMs trigger the warning and fall back. But it seems quite random so far.

      I did one adjustment thoug.
      My number of NBD connections are set quite high, 20. And after reading this post I decided to try if lowering to 1 would have an effect. And it seems that it does. The latest backup-run hasn't showed any warnings this time... Maybe it's a false lead. But it is a behaviour I noticed this time

      poddingueP 1 Reply Last reply
      Reply Quote 0
      • A
        Andrew Top contributor @florent
        last edited by

        @florent

        Running delta backup with CBT to S3.
        NBD connections=1
        Yes, NBD. No VHD only.
        Yes, NBD is enabled and working on all pool hosts.
        Yes, XO can access the network used for NBD.
        No, a default backup network as not been assigned.
        No more logs from journalctl.

        My normal large nightly delta backup to S3 ran and did not produce any new errors. So far, just the one error once.

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

          Small follow-up on the NBD connections idea, because I asked internally and it turns out that was not a false lead at all.
          The number of NBD connections is capped per host, so 20 per disk is well past what the host will actually hand out, and it is worth turning down whatever else is going on in this thread.
          I do not have the exact ceiling yet. I have asked the XAPI side for the real number and I will post it here once I have it, because guessing at it would not help anyone.
          @Andrew, that fits your side too as far as I can tell, since you are at 1 and have seen this once rather than constantly.
          probain, I will send you an upload link by direct message so you have somewhere to put the logs. I still do not know whether the fallback itself is new this week or simply newly visible, so please do not read anything into my message on that part.

          P 1 Reply Last reply
          Reply Quote 0
          • P
            probain @poddingue
            last edited by

            @poddingue

            Thanks for looking into it further as well.. If there is a hard cap on the amount of NBD connections, then that is very interesting. Because the closest I've ever been able to find regarding this setting, was the general answer of "Try and see what works for you". So if ther is indeed a hard cap, then I would propose that this is limited inside the GUI itself. e.g. if the cap is 8, then don't let the integer exceed 8.

            I'm doing increasing increments of the number of connections now. So far I've done 1,2,10. And 10 does seem to be breaking again, but only on some.

            Thanks as well for the link. I'm collecting the logs through xen-bugtool --yestoall now. I do wish that something like this is implemented in GUI someday. And I even made a FR feedback on it. Since I really do want to provide good information for the devs. But collecting manually isn't the most convinient way unfortunately.

            Logs should be up shortly

            1 Reply Last reply
            Reply Quote 0
            • P
              probain
              last edited by

              5 nbd connections went fine.
              8 is not.

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

                Happy to read the logs when you can provide them!

                1 Reply Last reply
                Reply Quote 0
                • acebmxerA
                  acebmxer
                  last edited by

                  Just to confirm you are talking about this setting here in the backup job?

                  Screenshot 2026-07-30 153133.png

                  If so is this setting supposed to be set to the number of physical nics that can commicate to the backup remote? Or is this more about how many disks at once can be backup over those connections?

                  Previously had set to 2 or 4. Upped to 6 and see no difference.

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

                    Logs are providing interesting results. Discussing internally about it in the next week to see what could be improved about it.

                    P 1 Reply Last reply
                    Reply Quote 1
                    • P
                      probain @olivierlambert
                      last edited by

                      @olivierlambert
                      Happy to hear that they are providing results to be looked at.
                      If there is anything else I can provide, please don't hesitate to ask. And I'll do my very best to be helpfull

                      1 Reply Last reply
                      Reply Quote 0
                      • I
                        IgorGlock
                        last edited by

                        I am not sure if it is the same issue or not.
                        I doing daily replication from:
                        4 VMs nvme-1 SR vhd --> nvme-2 SR qcow2
                        2 VMs nvme-2 SR qcow2 --> nvme-1 SR vhd

                        That is homelab for testing only.
                        Xen Orchestra, commit 6a441
                        fd87b54f-fe95-449b-8f7e-17c1da61a4cd-image.jpeg
                        Standalone "Host up-to-date!" with latest august updates.

                        Replication qcow2 --> vhd works as expected.
                        Replication of vhd --> qcow2 creates daily new replica VM and reports this:
                        b6ae1b45-0735-44b8-b490-c4f89ba3f953-image.jpeg

                        Log: 2026-08-30T18_42_49.945Z - backup NG.json.txt

                        I 1 Reply Last reply
                        Reply Quote 0
                        • I
                          IgorGlock @IgorGlock
                          last edited by

                          My reported issue is gone with build 7a187 from sourcecode.

                          Day before:

                          tasks	
                          0	
                          id	"0mtj9shwq-k2neggnx0sf"
                          properties	
                          id	"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeca"
                          name	"backup VM"
                          type	"VM"
                          name_label	"unifi-server"
                          progress	0
                          start	1788303601322
                          status	"success"
                          warnings	
                          0	
                          message	"can't compute delta OpaqueRef:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeee76 from OpaqueRef:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeee32, fall back to a full"
                          tasks
                          

                          Day after:

                          1	
                          id	"0mtktio1u-lrexahnlve"
                          properties	
                          id	"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeca"
                          name	"backup VM"
                          type	"VM"
                          name_label	"unifi-server"
                          progress	0
                          start	1788397201218
                          status	"success"
                          tasks	
                          0	
                          
                          1 Reply Last reply
                          Reply Quote 0
                          • P
                            probain
                            last edited by

                            I've since reduced the number of NBD connections to 4. However, I'm actually still seing this happen. I thought it was resolved. But going back to confirm, proved I assumed wrong.

                            I have therefore uploaded a new bugtools archive from the host server on the link @poddingue sent me earlier.

                            I hope they can prove helpfull. If you'd like me to do anything else, then I'll happily help out.

                            Cheers!

                            florentF 1 Reply Last reply
                            Reply Quote 0
                            • florentF
                              florent Vates 🪐 XO Team @probain
                              last edited by

                              @probain the first checkc to do are network one :

                              is there a default backup network on he pool ? if yes the xo will only look at this network

                              check if :

                              • the xo can access network(s) with nbd enabled
                              • the host have an ip on those networks
                              • are you on ipv4 or v6 ?
                              • xo can access the ip of the host on the nbd newtork
                              J P 2 Replies Last reply
                              Reply Quote 0
                              • J
                                jr-m4 @florent
                                last edited by

                                @florent

                                I'm seing the same behaviour as well.
                                To answer the questions you're asking for:

                                XO from source (7a187)

                                XO is connected to three separate pools. Backups work most of the times. But I've started seeing the same error. However, it seems intermitent. And somwhat random. Since it will generate an error from one VM, but not on another on the same host with the same SR etc etc.

                                can't compute delta OpaqueRef: <ref>
                                from OpaqueRef:<ref>, fall back to a full
                                can't connect through NBD, fall back to stream export
                                Backup fell back to a full
                                
                                • There is an assigned backup-network, and it is the same as the management network. With NBD enabled
                                • XO can access all of the hosts on the management/backup network
                                • IPv4
                                1 Reply Last reply
                                Reply Quote 0
                                • P
                                  probain @florent
                                  last edited by

                                  @florent

                                  No explicit assigned migration or backup network set.

                                  Backups generate errors somewhat randomly. As one VM won't get the "error" one time. But on the next backup run it will. And the third time it might not. This even happens on VMs that are turned off, and therefore shouldn't have any changed bytes between backups.

                                  • Host is reachable from XO
                                  • Network has NBD enabled
                                  • All VMs use VHD
                                  • IPv4
                                  • Backup type is Delta
                                  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