From: jaikumar Ganesh Subject: Xen + NFS Date: Mon, 21 Nov 2005 21:02:47 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1825799534==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com Cc: sowmya dayanand List-Id: xen-devel@lists.xenproject.org --===============1825799534== Content-Type: multipart/alternative; boundary="----=_Part_18380_31576357.1132628567450" ------=_Part_18380_31576357.1132628567450 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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(rw,sync,no_root_s= quash) NFS has been started. ---------- Config file for guest OSes: kernel =3D "/root/xen-2.0/dist/install/boot/vmlinuz-2.6.11-xenU" disk =3D ['file:/root/fedora.img,hda1,w'] # Root device for nfs. root =3D "/dev/nfs" # The nfs server. nfs_server =3D '10.10.10.1 ' # Root directory on the nfs server. nfs_root =3D '/' 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=3D5,mode=3D620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 LABEL=3DSWAP-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 ge= t 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 ------=_Part_18380_31576357.1132628567450 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 (rw,sync,no_root_squash)
NFS has been started.

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

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

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

10.10.10.1:/          &nb= sp; /            &n= bsp;          nfs     defaults        1 1
none            = ;        /dev/pts           &= nbsp;    devpts  gid=3D5,mode=3D620  0 0
none            = ;        /dev/shm           &= nbsp;    tmpfs   defaults        0 0 none            = ;        /proc           &nbs= p;       proc    defaults        0 0
none            = ;        /sys            = ;        sysfs   defaults        0 0 LABEL=3DSWAP-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 ge= t 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
------=_Part_18380_31576357.1132628567450-- --===============1825799534== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1825799534==--