[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Problem with parameter "GRUB_CMDLINE_XEN"!

  • To: xen-api@xxxxxxxxxxxxx
  • From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • Date: Tue, 05 Mar 2013 10:04:22 -0600
  • Delivery-date: Tue, 05 Mar 2013 16:05:01 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>


El 05/03/13 08:04, Eduardo Lúcio A. Costa escribió:
I have configured the file "/etc/default/grub" on "Dom0" with the
following parameter...

GRUB_CMDLINE_XEN="dom0_mem=16G,max:16G dom0_max_vcpus=8"
Assuming your machine has this amount of memory, I may suggest this troubleshooting actions...

After this command, check /boot/grub/grub.conf (or menu.list, if Grub v1 is used). Make sure Xen's entry has the desired parameter. Otherwise, it's your update-grub script fault.

reboot -h 0
While rebooting, inspect Xen's command line in the boot loader (press 'E' over Grub's menu entry). Make sure the desired parameter is there. Otherwise, your boot loader is using a wrong config file (or you have updated a wrong one).

But when the "Dom0" returns, I have only just "3465592" of total memory.
Once booted, check with xentop or "xm list" or "xl list" (depends on what toolstack you are using). Inspect, how much memory did Xen assigned to Domain-0 aka Dom0.

Note, that if your Dom0 is a 32 bits system, it won't be able to see more RAM unless some workaround is activated, like using x86_64 kernel or activating PAE.

Alexandre Kouznetsov

Xen-api mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.