WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Installing a domU on NFS

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Installing a domU on NFS
From: Dominik Klein <dk@xxxxxxxxxxxxxxxx>
Date: Thu, 08 Mar 2007 12:42:27 +0100
Delivery-date: Thu, 08 Mar 2007 03:41:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20070103)
Hi

my dom0 runs openSuSE 10.2. Creating several domUs worked fine when using image files.
Now I am trying to install an openSuSE 10.2 System on an NFS root.

What I did so far is:
Make a dirinstall of openSuSE 10.2 to /mnt/dirinstall
Mount the NFS root to /nfs
Move anything from /mnt/dirinstall to /nfs
Umount the NFS root

Here's my domU config file:
kernel = '/boot/vmlinuz-xen'
ramdisk = '/boot/initrd-xen'
root = '/dev/nfs'
nfs_server = '10.2.50.21'
nfs_root = '/xenvm1'
memory = 512
vcpus = 1
builder = 'linux'
name = 'x-dktest'
vif = [ 'bridge=xenbr0, ip=10.2.50.41' ]
localtime = 0
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
extra = ' TERM=xterm'

/etc/exports on NFS (v3) Server looks like this:
/xenvm1 10.2.50.0/255.255.255.0(rw,sync,no_root_squash,no_all_squash)

In dom0 (10.2.50.31) I can mount the NFS share with no problem.

If I start the domU and connect to it with xm console, I get this:
....
NET: Registered protocol family 1
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vif/0
Freeing unused kernel memory: 184k freed
Time: xen clocksource has been installed.
Boot logging started on /dev/tty1(/dev/console) at Thu Mar  8 11:38:55 2007
Creating device nodes with udev
netfront: Initialising virtual ethernet driver.
Loading xennet
netfront: device eth0 has flipping receive path.
Loading xenblk
Loading jbd
Loading mbcache
Loading ext3
Mounting root 10.2.50.21:/xenvm1
mount server reported tcp not available, falling back to udp
mount: RPC: Remote system error - Network is unreachable
umount: /dev: device is busy
umount: /dev: device is busy
umount: /dev/pts: device is busy
umount: /dev/pts: device is busy
Kernel panic - not syncing: Attempted to kill init!

In the archives I found a mail saying to put hostnames for domU, dom0 and NFS Server on all machines. But that did not make a difference.

If there's a howto out there on how to do this, I did not find it yet.

I'd be glad if someone could help me out here.

Thanks in advance,
Dominik

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users