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

    VM creation: copy vs clone

    Scheduled Pinned Locked Moved Solved Management
    4 Posts 3 Posters 928 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.
    • M Offline
      mas90
      last edited by

      I have some VM templates with large (tens of GB) disks attached.

      Creating a VM from these templates used to be near-instant as XO would do a fast (copy-on-write) clone of the template disks.

      Recently it seems XO has started doing a full copy of the template's disks when creating a VM. VM creation from these templates now takes several minutes and I see long-running VM.copy and Async.VDI.copy tasks in the task list whilst this is happening.

      Was there a deliberate change to making VM creation do a full copy rather than a fast clone?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • julien-fJ Offline
        julien-f Vates 🪐 Co-Founder XO Team @mas90
        last edited by

        Yes, that was merged 4 days ago: https://github.com/vatesfr/xen-orchestra/pull/7388

        julien-f opened this pull request in vatesfr/xen-orchestra

        closed Fix clone #7388

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

          Hi,

          It's a known bug that will be fixed in our next XOA release (and maybe already merged in master, asking @julien-f )

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

            @olivierlambert Aha, thanks 🙂

            julien-fJ 1 Reply Last reply Reply Quote 0
            • julien-fJ Offline
              julien-f Vates 🪐 Co-Founder XO Team @mas90
              last edited by

              Yes, that was merged 4 days ago: https://github.com/vatesfr/xen-orchestra/pull/7388

              julien-f opened this pull request in vatesfr/xen-orchestra

              closed Fix clone #7388

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