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

    Problem with importing large VMDK disks

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    12 Posts 4 Posters 1.1k 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.
    • olivierlambertO Online
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Ping florent

      1 Reply Last reply Reply Quote 0
      • planedropP Offline
        planedrop Top contributor
        last edited by

        You're importing the VMDK files themselves right, not migrating directly from ESXi? If migrating off ESXi, it may be worth trying the Import from VMware feature.

        abudefA 1 Reply Last reply Reply Quote 0
        • abudefA Online
          abudef @planedrop
          last edited by

          planedrop These disk files belong to VMware Workstation Pro virtual machines, not ESXi. I converted the files to VHD as a workaround, but it would still be good to get a fix for XO.

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

            Yes, that's not a normal behavior. florent is pretty busy ATM because we are about to release XO 5.92 soon, but after that, he'll come here 🙂

            abudefA 1 Reply Last reply Reply Quote 0
            • abudefA Online
              abudef @olivierlambert
              last edited by

              olivierlambert Thanks for the good news!

              I've used VMware for years. ESXi as a server hypervisor and VMware Workstation Pro on the desktop. Even for some labs and test environments I got by with the free version of ESXi with limited APIs. The new licensing policy does not suit me and my companions at all and as a bonus Broadcom has cut the free version of ESXi. Bravo! I think Broadcom should get the award for best marketing of XCP-ng, H-V, Citrix etc. for 2024 🙂

              On desktops, I need to keep VMware Workstation Pro for many reasons. That's why I was impressed by the videos lawrencesystems made about XCP-ng & Xen Orchestra. The capabilities that are close to vSphere and vCentre, the ability to import and export VMDK so easily through XO blew me away. And to top it all off, transferring VMDK disks through XO works noticeably faster than migrating VMs between VMw WS and ESXi!

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

                abudef said in Problem with importing large VMDK disks:

                olivierlambert Thanks for the good news!

                I've used VMware for years. ESXi as a server hypervisor and VMware Workstation Pro on the desktop. Even for some labs and test environments I got by with the free version of ESXi with limited APIs. The new licensing policy does not suit me and my companions at all and as a bonus Broadcom has cut the free version of ESXi. Bravo! I think Broadcom should get the award for best marketing of XCP-ng, H-V, Citrix etc. for 2024 🙂

                On desktops, I need to keep VMware Workstation Pro for many reasons. That's why I was impressed by the videos lawrencesystems made about XCP-ng & Xen Orchestra. The capabilities that are close to vSphere and vCentre, the ability to import and export VMDK so easily through XO blew me away. And to top it all off, transferring VMDK disks through XO works noticeably faster than migrating VMs between VMw WS and ESXi!

                thank you
                I tried exporting and importing a vmdk locally , and didn't reproduce the memory leak. I will try again with an other configuration ( a slower XCP )

                abudefA 1 Reply Last reply Reply Quote 0
                • abudefA Online
                  abudef @florent
                  last edited by

                  florent said in Problem with importing large VMDK disks:

                  thank you
                  I tried exporting and importing a vmdk locally , and didn't reproduce the memory leak. I will try again with an other configuration ( a slower XCP )

                  How big was the VMDK file you tried to import? Did the RAM usage grow during the import, as seen in the screenshot above?

                  In my case, the import was from a pc from which I was connected to XO, whose virtual was running directly on the XCP-ng server into whose local storage the file was being imported.

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

                    abudef I tested with a 50GB file, and the RAM is not changing notably

                    abudefA 1 Reply Last reply Reply Quote 0
                    • abudefA Online
                      abudef @florent
                      last edited by abudef

                      florent I reproduced the problem on a different environment. Try using a really large file or importing two at once.

                      56aa6fdf-f197-4258-9cb6-5e70091fb6d4-image.png

                      46b8b13c-9794-49b3-8e03-0f0a037c1235-image.png

                      6290f5eb-802a-4846-ac89-fceee4999e42-image.png

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

                        abudef ouch
                        Would you be able to give me access to this vmdk file ? If you have a XOA, and with your authorization, I could download it through ssh and check here

                        1 Reply Last reply Reply Quote 0
                        • abudefA Online
                          abudef
                          last edited by

                          To conclude this: florent and I discussed the issue in a private conversation. I provided the vmdk file that was causing the problem. It turned out that the problem was caused by the vmdk thin file from VMware Workstation Pro, which has a slightly different structure than the vmdk files on ESXi hypervisors. Currently XO imports these files fine and the problem can be considered solved. Thank you very much florent for your cooperation and help.

                          1 Reply Last reply Reply Quote 2
                          • olivierlambertO olivierlambert marked this topic as a question on
                          • olivierlambertO olivierlambert has marked this topic as solved on
                          • First post
                            Last post