Re: Nachtrag: OT: XEN mit hardy-dom0 und etch-domU (was: ubuntu hardy xen pkgs mit etch (amd64))
On Monday 26 May 2008 15:42:50 Thomas Halinka wrote:
> Hi Chris
>
> Am Montag, den 26.05.2008, 15:22 +0200 schrieb Chris Cohen:
> > Zeig doch mal deine fstab.
>
> # mount -o loop /srv/xen/univ-disk /mnt/
> root@kzvxen1:~# cat /mnt/etc/fstab
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump>
> <pass> /dev/sda1 / ext3 defaults,acl,errors=remount-ro 0 1
> proc /proc proc defaults 0 0
> /dev/sda2 none swap sw 0 0
> #/dev/sda5 /home ext3 defaults,acl 0 0
> #/dev/sda6 /var/lib/mysql ext3 defaults,acl 0 0
> /dev/sr0 /cdrom auto user,noauto,exec 0 0
> /dev/fd0 /floppy vfat user,noauto,exec 0 0
>
> und hier die entsprechende dom-config:
>
> cat /srv/xen/univ.cfg
> #
> # Configuration file for the Xen instance astertec, created on
> # Wed Dec 12 12:30:50 2007.
> #
>
>
> #
> # Kernel + memory size
> #
> kernel = '/boot/vmlinuz-2.6.24-17-xen'
> ramdisk = '/boot/initrd.img-2.6.24-17-xen'
> #kernel = '/boot/vmlinuz-2.6.18-5-xen-vserver-amd64'
> #ramdisk = '/boot/initrd.img-2.6.18-5-xen-vserver-amd64'
>
>
> memory = '2500'
> cpus = '1-7'
>
> #
> # Disk device(s).
> #
> root = '/dev/sda1 ro'
>
> disk = [ 'tap:aio:/srv/xen/univ-disk,sda1,w',
> 'tap:aio:/srv/xen/univ-swap,sda2,w' ]
>
> #
> # Hostname
> #
> name = 'univ'
>
>
> #
> # Networking
> #
> vif = [ 'mac=00:01:02:03:e4:05, ip=192.168.XY.211' ]
>
> #
> # Behaviour
> #
> on_poweroff = 'destroy'
> on_reboot = 'restart'
> on_crash = 'restart'
>
> ebenso mit hda probiert....
> Was ich grad noch sehe im bootlog:
>
> mount: Mounting /sys on /root/sys failed: No such file or directory
> mount: Mounting /proc on /root/proc failed: No such file or directory
>
> Hmm mal sehen, wo das herkommt - sieht aber reichlich komisch
> aus.....
Das sieht bei mir alles ziemlich ähnlich aus. Der einzige Unterschied:
Ich nutze LVM anstatt tap/aio. Vielleicht ist diese Zeile ja verkehrt?
Bei mir schauts so aus:
root = '/dev/sda2 ro'
disk = [
'phy:/dev/xendisks/amy-swap,sda1,w',
'phy:/dev/xendisks/amy-disk,sda2,w',
'phy:/dev/xendisks/amy-mail,sda3,w',
]
Allerdings nutze ich in der Dom0 Ubuntu und in den DomU's größtenteils
Etch. (Mit dem ubuntu Kernel).
--
hth
Chris
Reply to: