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

    CBT: the thread to centralize your feedback

    Scheduled Pinned Locked Moved Backup
    439 Posts 37 Posters 386.6k Views 29 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.
    • M Offline
      manilx @manilx
      last edited by manilx

      @olivierlambert Problem is back after one day:
      ScreenShot 2024-07-11 at 22.45.26.png
      The last snapshot of the previous day is left over. The ones from today leave only the last one.

      The backup has 3 schedules in one backup job. This might be the problem:

      ScreenShot 2024-07-11 at 22.50.13.png
      6 bihourly from 6 to 22 every 2hrs mo-sat
      6 daily at 23:00 mo-sat
      12 weekly at sundays

      M 1 Reply Last reply Reply Quote 0
      • R Offline
        rtjdamen @rtjdamen
        last edited by

        Florent provided us with a fix for the Stream error, so far i did not see it on new runs, we keep an eye on the running jobs. The issues we have remaining is the vdi_in_use error and sometimes the proxy loses connection with the XOA master server in that case the jobs shows as interupted but in real it is still running and finishing the job.

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

          @olivierlambert It looks like, different from previous versions, the backup keeps one snapshot for each schedule. Was just one for all three before.
          Does this seem OK?

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

            I don't think it was possible to keep one snapshot for many schedules. Because a snapshot is the point of reference, so if your schedules aren't aligned in terms of start date, we must have multiple snapshots (regardless the fact we keep them visible or using CBT to remove them).

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

              @olivierlambert This would be OK with me. Just that it wasn't like that (pre-CBT) before. I only had one snapshot for the backup job......

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

                I don't see how that would have been possible in the first place 🤔

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

                  @olivierlambert Don't know either but that is how it was 🤷

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

                    You can try to go back on XOA stable and see if it's really the case, but I don't see how we could have different schedules not relying on a specific snapshot if they are at different period of time.

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

                      @olivierlambert Running XO from sources. I'm good as it is, no need to go back. Was just wondering why I had multiple snapshots now instead of the single one (per backup job). Thought of a bug but as it's a feature 🙂 I'm good.

                      1 Reply Last reply Reply Quote 0
                      • robytR Offline
                        robyt
                        last edited by

                        Too many error for me..
                        Time for backup very very long, error at start (with retry) and at the end (with error on backup:

                        Couldn't deleted snapshot data
                        Couldn't deleted snapshot data
                        Retry the VM backup due to an error
                        the writer IncrementalRemoteWriter has failed the step writer.beforeBackup() with error Lock file is already being held. It won't be used anymore in this job execution.
                        Retry the VM backup due to an error
                        Transfer data using NBD
                        will delete snapshot data
                        Snapshot data has been deleted
                        Snapshot data has been deleted
                        Transfer data using NBD
                        
                            Clean VM directory
                            cleanVm: incorrect backup size in metadata
                            Start: 2024-07-11 20:23
                            End: 2024-07-11 20:24
                            Snapshot
                            Start: 2024-07-11 20:24
                            End: 2024-07-11 20:25
                            Backup XEN OLD
                            Start: 2024-07-11 20:25
                            End: 2024-07-11 20:27
                            Duration: 2 minutes
                            Clean VM directory
                            cleanVm: incorrect backup size in metadata
                            Start: 2024-07-12 01:44
                            End: 2024-07-12 01:44
                            Snapshot
                            Start: 2024-07-12 01:44
                            End: 2024-07-12 01:46
                            Backup XEN OLD
                                transfer
                                Start: 2024-07-12 01:46
                                End: 2024-07-12 05:39
                                Duration: 4 hours
                                Size: 397.86 GiB
                                Speed: 29.12 MiB/s
                            Start: 2024-07-12 01:46
                            End: 2024-07-12 05:39
                            Duration: 4 hours
                        
                        Start: 2024-07-11 20:23
                        End: 2024-07-12 05:39
                        Duration: 9 hours
                        Error: Disk is still attached to DOM0 VM
                        Type: delta
                        

                        not good..

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rfx77
                          last edited by

                          Snapshots not getting deleted most of the time. Purge Snapshot data is enabled.

                          You can see the error in the picture below

                          ae8f3a42-ed03-4337-b2b3-7f9949775223-image.png

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

                            The question is about the root cause of the issue: why the VDI is still in use? Before trying again, try to restart the toolstack on all hosts, checking you have 0x VDI attached to the control domain or something like that.

                            R 1 Reply Last reply Reply Quote 0
                            • R Offline
                              rfx77 @olivierlambert
                              last edited by

                              @olivierlambert

                              No they are not attached.

                              6365aba6-1cd4-44a5-bd59-e33f3b2e46ad-image.png

                              on the last job there was no error in the log but the vdi snapshots are not going away (see snapshots in picture above)

                              4e9e0898-ab6a-4ec4-a868-803ace0b85f4-image.png

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

                                Yes, if they can't be removed because they are used somewhere, there is a problem.

                                Also, I see you are using XenCenter, but that's not the right tool here. Check the Dashboard/health in XO to see.

                                R 1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rfx77 @olivierlambert
                                  last edited by rfx77

                                  @olivierlambert

                                  The snapshots are also show in XO

                                  ef83feb0-c5c7-4d87-96a9-e9dc09940a3f-image.png

                                  Subsequent delta backups are working and not leaving orphaned snaps

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

                                    That's not what I'm talking about in my previous post.

                                    R 1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rfx77 @olivierlambert
                                      last edited by rfx77

                                      @olivierlambert

                                      why are the snapshots of psrv30_base and psrv30_data01 kept after a full backup???

                                      Here what you wanted me tho check:

                                      7101eaf1-4b89-4a69-bfe0-015411325228-image.png

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

                                        1. So first, you still have VDI attached to the control domain. Outside the actual backup jop/export, it's NOT normal to have those here.
                                        2. The snapshots you are showing a snapshots without any data, just the metadata. We can improve the UI to detect it and show it's not a regular VDI snapshot. If you don't see the VM snapshot in the VM/snapshot view, it's OK.
                                        R 1 Reply Last reply Reply Quote 0
                                        • olivierlambertO Offline
                                          olivierlambert Vates 🪐 Co-Founder CEO
                                          last edited by

                                          Created https://github.com/vatesfr/xen-orchestra/issues/7837

                                          olivierlambert created this issue in vatesfr/xen-orchestra

                                          open Hide or discriminate metadata VDI in the SR/disk view #7837

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            rfx77 @olivierlambert
                                            last edited by

                                            @olivierlambert

                                            1. Another Backup is running

                                            2. So to summarize: You always get (in th UI) one snapshot which takes no space if you do delta with CBT. The snapshots can be ignored. Is this right?

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