I''m new to Xen and ran into a problem in booting up
dom0. I have a few stupid questions about root
partitions for dom0 and domU that I could n''t find
their answers in the mailing list:
1) What we specify in menu.lst as the root partition
(eg. root=/dev/hda5 ) for dom0 is the partition where
xen0 kernel resides? Is this the same partition as the
root for my plain linux (the one that boots without
xen)?
Here is part of my menu.lst (I have one root partition
hda5 plus an additional hda7 partition for setting up
LVM for additional domains):
###Don''t change this comment - YaST2 identifier:
Original name: linux###
title Linux
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5
vga=0x31a splash=silent desktop hdd=ide-scsi hddlun=0
showopts
initrd (hd0,4)/boot/initrd
###Don''t change this comment - YaST2 identifier:
Original name: xen###
title Xen 2.0 / XenLinux 2.6
kernel (hd0,4)/boot/xen-2.0.gz dom0_mem=131072
module (hd0,4)/boot/vmlinuz-2.6-xen0
root=/dev/hda5 console=tty0
module (hd0,4)/boot/initrd
During the boot process, it fails when trying to mount
the root file system. It says "dirty filesystem" and
mounts it only read-only.
2) Similarly, when I start additional domains, am I
still refering to the partition where the xen0 or xenU
kernels reside or the filesystem they are going to be
mounted on? I think the latter should be correct, but
if that is the case, do all the kernels reside in the
domain0?
3) I also could n''t find /lib/tls on my system. It
might be because I am running Suse 9.0.
THanks a lot.
____________________________________________________
Sell on Yahoo! Auctions no fees. Bid on great items.
http://auctions.yahoo.com/
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Hi,
I''m using XEN with gentoo base systems. Both the domain-0''s
and the
domain-X''s are gentoo.
I build my gentoo systems according to a script, and they are all
identical, save for things like hostname, IP, user content, etc.
So here''s my question/problem:
I have some 10 "Regular" or conventional gentoo servers.
Then I have around 8 Xen based servers most of which have 4 domain x''s
on them. These machine are all the same - dual pentium 4''s, 2G ram,
intel 865g chipset, big drives.
Okay, so the regular or conventional servers use ram and swap as
expected - they allocate and deallocate swap as needed and I have
uptimes on the order of 185day avg before I do a kernel rebuild or
something.
On the xen machines, i HAVE TO reboot every 25 - 30 days because they
NEVER deallocate swap usage and eventuall use 100% of the swap and also
ram and then lock up hard if I don''t reboot the machine before it gets
there.
I can''t use swapoff and swapon again - here''s the error I
get:
server1 / # swapoff -a
swapoff: /dev/sda2: Cannot allocate memory
this machine, server1 has been up some 25 days now:
server1 / # w
15:25:41 up 25 days, 3:36, 1 user, load average: 0.16, 0.13, 0.09
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
root vc/1 22Jun05 1.00s 0.04s 0.00s w
and our memory allocation is getting high:
server1 / # free -m
total used free shared buffers cached
Mem: 441 433 7 0 13 159
-/+ buffers/cache: 260 180
Swap: 964 582 382
I''m using xen-2.0.4 with kernel 2.6.10
Does anyone else have this issue, and what have you done to resolve it?
Thanks,
Jack
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users