1 message in com.xensource.lists.xen-devel[Xen-devel] Xen + NFS
FromSent OnAttachments
jaikumar Ganesh21 Nov 2005 19:02 
Subject:[Xen-devel] Xen + NFS
From:jaikumar Ganesh (jaik@gmail.com)
Date:11/21/2005 07:02:25 PM
List:com.xensource.lists.xen-devel

Hi All We are facing some problems with NFS on Xen:

1. base OS - Fedora core 3. 2. Xen 2.0.7 (installed from src).

/etc/exports file on Domain 0 : / 10.10.10.0/255.255.255.0<http://10.10.10.0/255.255.255.0>(rw,sync,no_root_squash) NFS has been started.

---------- Config file for guest OSes:

kernel = "/root/xen-2.0/dist/install/boot/vmlinuz-2.6.11-xenU" disk = ['file:/root/fedora.img,hda1,w'] # Root device for nfs. root = "/dev/nfs" # The nfs server. nfs_server = '10.10.10.1 <http://10.10.10.1>' # Root directory on the nfs server. nfs_root = '/'

Also we have modified the /etc/fstab in fedora.img as below

10.10.10.1:/ / nfs defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 LABEL=SWAP-hda2 swap swap defaults 0 0

The error we get on loading domain U is :

"Warning : Unable to open console".

We know that we need to set up the initrd for this error, but we used to get this error only while booting dom-0 and not dom-U.

It works fine when we are using file based VBDs and we are able to boot dom-U without any problems.

Any hints?

Thanks Jaikumar