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

    Unable to MIgrate VDI when host is low on free memory

    Scheduled Pinned Locked Moved Compute
    5 Posts 3 Posters 35 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.
    • H Offline
      hitechhillbilly
      last edited by

      I have a small server that I use as a test host, and I added some SRs on it that are network-based. One is NFS and the other is iSCSI. VMs work fine on these SRs, but when I go to migrate a VDI on a running VM, with the Xen tools, I get a "not enough free RAM" error regardless of whether I try to migrate it to the NFS or iSCSI SRs. This host is very short on RAM. I am running the latest patched 8.3 with QCOW enabled. I tried two machines. One was an existing with a VHD disk and the other is a VM with a QCOW2 disk.

      Thank you for the help.

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

        Hi,

        Low how? can you provide some numbers? Thanks!

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hitechhillbilly @olivierlambert
          last edited by

          @olivierlambert Here is the amount of free RAM on the system.

          https://imgur.com/a/pZYIGc7

          But when I try to migrate a VDI to a new storage repo, I get this error:

          HOST_NOT_ENOUGH_FREE_MEMORY(8663334912, 3104964608)

          I can create a new VM on that SR without issue.

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

            Do you have dynamic memory set for your VM?

            1 Reply Last reply Reply Quote 0
            • nikadeN Offline
              nikade Top contributor
              last edited by

              You say you're trying to migrate a vdi, where are you trying to migrate it?
              To a SR attached to your current host or to another host/pool?

              If you're trying to migrate it to another host/pool this is something that i've seen as well when dom0 is not assigned enough RAM, we usually gave them 16Gg which seemed to resolved these kind of issues back when we were running 8.2.0.

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