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 1.9k 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

              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