Saturday, September 09, 2006 VmError / No such domain

I have been struggling with Xen for weeks. Everytime I would try to launch a guest install, it would fail. From a root prompt, I would execute: -n xm-guest-1 -f /dev/vg0/xm-guest-1
    -l -r 256 -p -x text

Everytime I would get the same failure:
    Starting Install...
    libvir: Xen Daemon error : POST operation failed:     No such domain xm-guest-1

In the /etc/log/xend-debug.log I would see:
    VmError: I need 262144 KiB, but dom0_min_mem is 262144
    and shrinking to 262144 KiB would leave only 243948 KiB free.

...Or some such nonsense.

Much to my dismay, if I reduce the memory footprint of Dom0 to 128:
    xm mem-set 0 200
...It works!

Now if I could only get the network to function!

1 comment:

  1. In experimenting with this, I have found that xm mem-set 0 248 does not work, but xm mem-set 0 232 does. There seems to be something special that happens between those two numbers. Using 232 instead of 200 gives the master domain an extra 32meg of memory.

    Not a lot, but sure to help.