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

    Lock file is already being held whereas no backup are running.

    Scheduled Pinned Locked Moved Backup
    6 Posts 4 Posters 45 Views 4 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.
    • henri9813H Offline
      henri9813
      last edited by henri9813

      Hello,

      Sometimes, i have on some jobs ( which run every 4 hours ).

      30c3a82e-1e48-4d09-8e36-514066e11352-image.png

      Howerver, the previous job is finished in success
      2bc2ed36-391c-4e02-b8d7-a40e9e7513a3-image.png

      Is it possible that has a relation with the mergeWorker of backups which could be running ? if it doesn't finished his operations ?

      Example of logs:

      xen-orchestra      | 2025-11-27T00:44:43.487Z xo:backups:mergeWorker INFO merge in progress {
      xen-orchestra      |   done: 2057,
      xen-orchestra      |   parent: '/xo-vm-backups/f37e259d-beaa-7617-e6f1-be814f21e056/vdis/29e0185e-2f67-44d4-bb9e-ee2a772e2543/b09c0230-219f-4ddf-8e19-bfed1464014f/20251126T070610Z.vhd',
      xen-orchestra      |   progress: 25,
      xen-orchestra      |   total: 8128
      xen-orchestra      | }
      

      Is it possible to have this in the XO Tasks sections ? it's interessant to see this.

      Best regards

      F 1 Reply Last reply Reply Quote 0
      • F Online
        flakpyro @henri9813
        last edited by

        @henri9813 This is 100% related to the merge process still running in the background. I have seen it happen myself.

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

          @flakpyro there is an option to merge synchronously while exporting instead of after the export
          in the very bottom of backup job config

          it should avoid most of your current merge problems

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

            Hello, @Pilow

            Thanks for the tips !

            But it would be great to see it in the Task UI to find more easily the trick.

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

              @henri9813 yep merging is totally transparent at this time. can be seen afterward in raw backup logs

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

                you can uncheck the "Merge backups synchronously" in the advanced view of the backup job to have it run inside the backup job, thus making it visible

                (we are reworking the internal design for better observability, but there is a lot of job before)

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post