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

    Backups with qcow2 enabled

    Scheduled Pinned Locked Moved Backup
    19 Posts 3 Posters 263 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.
    • P Offline
      Pilow @acebmxer
      last edited by

      @acebmxer bottom of POOL advanced tab, is BACKUP NETWORK selected on the NBD enabled network accessible by both hosts and XOA ?

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

        @Pilow

        Was already configured...

        Screenshot 2026-04-17 102001.png

        Screenshot 2026-04-17 102051.png

        Think this is the issue....
        Network tab under pool.
        Screenshot 2026-04-17 102135.png

        Will run another delta once the current one finishes.

        Edit - update

        Can a warning be made if NBD is not enabled at the pool level? or make the error more clear?

        I enabled the nbd at the pool level and ran another delta - 2026-04-17T14_40_39.535Z - backup NG.txt

        I Then re-enable the purge snapshot in back up job and ran another delta. 2026-04-17T15_00_40.358Z - backup NG.txt

        Screenshot 2026-04-17 110321.png

        Screenshot 2026-04-17 111349.png

        P 1 Reply Last reply Reply Quote 0
        • A acebmxer referenced this topic
        • P Offline
          Pilow @acebmxer
          last edited by

          @acebmxer so, NBD it was...

          holy molly, you have some good network performance !
          what kind of SR at source ? and remote at destination ?
          what about the PIFs ?

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

            @Pilow

            Just a little old truenas running on AMD 5900x with 10 Gic nics bound, Unifi Agg switch with 10gb links to hosts.

            Storage 5 8tb tohisba drives and two 1tb nvme drives 1 for cache 1 for log vdev.

            Backup device is a DS1819+ with 4 12 tb seagate exo drives with 10gb link.

            Screenshot 2026-04-17 122521.png

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

              @acebmxer NFS remotes on the DS1819+ ?

              we have iSCSI SR (25Gb mellanox 6 PIFs on hosts to 25Gb MSA2062 SAN dual controller)
              our remotes are iSCSI os mounted volumes on MSA SANs, presented as S3 (minio VMs)
              using XO PROXIES to offload backups from XOA

              we max out a 150/200Mb/s during backups 😕

              but we are on VHD VDIs, asking myself if the added backup performance you present could be due to QCOW2 format on source SR ?
              will have to try VDIs on such SR to see the diff

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

                @Pilow Yes NFS on vm storage and on backup storage.

                All vms are now on qcow2 except for the windows vm what was vhd. However i just mirgrated it over to qcow2. the Nics in all systems are the intel 10gb either x520 or x540

                Edit - Sorry missed your question about performance vhd vers qcow2. I would say its on equal to. I didnt run any benchmarks for comparison. (probably should have) But havent seen any major slowness other then GC issues. (See latest post)

                1 Reply Last reply Reply Quote 1
                • A Offline
                  acebmxer
                  last edited by acebmxer

                  So progress bar seems to be working now on exporting. But i am also noticing Garbage collection seems to be running quite often that i feel its slowing down the import for the health check.

                  Screenshot_20260418_104201.png

                  Screenshot_20260418_104514.png

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    acebmxer
                    last edited by acebmxer

                    Next thing I am noticing that garbage collection is not able to coalesce vdi to vms that are running. garbage will keep trying to run every 30 - 45 seconds for 30 seconds run time. VDIs to coalesce will keep increasing unless a vm is powered off and given enough time for garbage collection to actually run.

                    Because garbage collection is spamming so often importing a vdi for health check will take logger.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      acebmxer
                      last edited by acebmxer

                      @florent

                      I disabled CBT on the vms and re-ran a delta backup. I noticed the following.

                      While watching the backup task when it shows [XO] Exporting it will not show the percentage and completion. Watching backup task a vm will show not using NBD at first but using XO and then fail. The backup log will then show vm fell back to full backup and the task will then show that it is using NBD.

                      Screenshot_20260420_002103.png

                      Screenshot_20260420_002557.png

                      Screenshot_20260420_002717.png

                      Screenshot_20260420_003717.png

                      Also with out CBT GC is not constantly spamming once a vm has finished exporting and started health check. It appears to actually be running and able to coalesce as they are no longer showing in the dashboard / health...

                      delta job with CBT enabled - 2026-04-20T00_43_48.487Z - backup NG.txt

                      CBT disabled delta job. two vms fell back to full - 2026-04-20T03_19_02.894Z - backup NG.txt

                      Next delta job with CBT disabled 1 vm fell back to full - 2026-04-20T04_19_10.531Z - backup NG.txt

                      Screenshot_20260420_001804.png

                      Screenshot_20260420_010236.png

                      A 1 Reply Last reply Reply Quote 0
                      • A Offline
                        acebmxer @acebmxer
                        last edited by

                        Ok something is happening. I made no additional changes from last night. Now schedule backup job 1 pm is still going on 2 hours later.

                        Screenshot 2026-04-20 145633.png

                        Think i might revert back to VHD as this has cause so many issues.

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

                          @acebmxer do you have something in the xo logs ( journalct probably ) ?

                          A 1 Reply Last reply Reply Quote 0
                          • A Offline
                            acebmxer @florent
                            last edited by acebmxer

                            @florent said:

                            @acebmxer do you have something in the xo logs ( journalct probably ) ?

                            from host
                            sudo journalctl -u xo-server -n 50
                            -- No entries --

                            From XO - Currently on fbba0 commit (4 behind)

                            Apr 20 15:21:51 xo-ce xo-server[849]:   }
                            Apr 20 15:21:51 xo-ce xo-server[849]: }
                            Apr 20 15:22:35 xo-ce xo-server[849]: 2026-04-20T19:22:35.554Z xo:main INFO + Console proxy ( - 127.0.0.1)
                            Apr 20 15:22:41 xo-ce xo-server[849]: 2026-04-20T19:22:41.365Z xo:main INFO - Console proxy ( - 127.0.0.1)
                            Apr 20 15:22:55 xo-ce xo-server[849]: 2026-04-20T19:22:55.223Z xo:main INFO + Console proxy ( - 127.0.0.1)
                            Apr 20 15:23:04 xo-ce xo-server[849]: 2026-04-20T19:23:04.562Z xo:main INFO - Console proxy ( - 127.0.0.1)
                            Apr 20 16:11:49 xo-ce xo-server[849]: (node:849) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 update list>
                            Apr 20 16:11:49 xo-ce xo-server[849]: 2026-04-20T20:11:49.190Z xo:xo-server WARN Node warning {
                            Apr 20 16:11:49 xo-ce xo-server[849]:   error: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 update listen>
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at genericNodeError (node:internal/errors:985:15)
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at wrappedFn (node:internal/errors:539:14)
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at _addListener (node:events:590:17)
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at Tasks.addListener (node:events:608:10)
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at TaskController.getTasks (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/tasks/tas>
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at ExpressTemplateService.buildPromise (/opt/xen-orchestra/node_modules/@tsoa/runtime/src/ro>
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at ExpressTemplateService.apiHandler (/opt/xen-orchestra/node_modules/@tsoa/runtime/src/rout>
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at TaskController_getTasks (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/open-api/>
                            Apr 20 16:11:49 xo-ce xo-server[849]:     emitter: Tasks {
                            Apr 20 16:11:49 xo-ce xo-server[849]:       _events: [Object: null prototype],
                            Apr 20 16:11:49 xo-ce xo-server[849]:       _eventsCount: 2,
                            Apr 20 16:11:49 xo-ce xo-server[849]:       _maxListeners: undefined,
                            Apr 20 16:11:49 xo-ce xo-server[849]:       Symbol(shapeMode): false,
                            Apr 20 16:11:49 xo-ce xo-server[849]:       Symbol(kCapture): false
                            Apr 20 16:11:49 xo-ce xo-server[849]:     },
                            Apr 20 16:11:49 xo-ce xo-server[849]:     type: 'update',
                            Apr 20 16:11:49 xo-ce xo-server[849]:     count: 11
                            Apr 20 16:11:49 xo-ce xo-server[849]:   }
                            Apr 20 16:11:49 xo-ce xo-server[849]: }
                            Apr 20 16:11:49 xo-ce xo-server[849]: (node:849) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 remove list>
                            Apr 20 16:11:49 xo-ce xo-server[849]: 2026-04-20T20:11:49.190Z xo:xo-server WARN Node warning {
                            Apr 20 16:11:49 xo-ce xo-server[849]:   error: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 remove listen>
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at genericNodeError (node:internal/errors:985:15)
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at wrappedFn (node:internal/errors:539:14)
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at _addListener (node:events:590:17)
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at Tasks.addListener (node:events:608:10)
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at TaskController.getTasks (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/tasks/tas>
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at ExpressTemplateService.buildPromise (/opt/xen-orchestra/node_modules/@tsoa/runtime/src/ro>
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at ExpressTemplateService.apiHandler (/opt/xen-orchestra/node_modules/@tsoa/runtime/src/rout>
                            Apr 20 16:11:49 xo-ce xo-server[849]:       at TaskController_getTasks (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/open-api/>
                            Apr 20 16:11:49 xo-ce xo-server[849]:     emitter: Tasks {
                            Apr 20 16:11:49 xo-ce xo-server[849]:       _events: [Object: null prototype],
                            Apr 20 16:11:49 xo-ce xo-server[849]:       _eventsCount: 2,
                            Apr 20 16:11:49 xo-ce xo-server[849]:       _maxListeners: undefined,
                            Apr 20 16:11:49 xo-ce xo-server[849]:       Symbol(shapeMode): false,
                            Apr 20 16:11:49 xo-ce xo-server[849]:       Symbol(kCapture): false
                            Apr 20 16:11:49 xo-ce xo-server[849]:     },
                            Apr 20 16:11:49 xo-ce xo-server[849]:     type: 'remove',
                            Apr 20 16:11:49 xo-ce xo-server[849]:     count: 11
                            Apr 20 16:11:49 xo-ce xo-server[849]:   }
                            Apr 20 16:11:49 xo-ce xo-server[849]: }
                            
                            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