Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] NFS root mount problem

To: Peggy Fenner <peggy@xxxxxxxxxx>
Subject: Re: [Xen-users] NFS root mount problem
From: Yura Pismerov <y.pismerov@xxxxxxxxxxxxx>
Date: Wed, 31 May 2006 13:23:11 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 31 May 2006 10:23:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <0E3B8CF4-8227-474C-B578-2EF05925A9F1@xxxxxxxxxx>
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>
References: <0E3B8CF4-8227-474C-B578-2EF05925A9F1@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mail/News 1.5 (X11/20060228)
Make sure your xenU kernel has the following config options:

CONFIG_IP_PNP=y
CONFIG_ROOT_NFS=y

Also you should not manually setup fstab entry for the root partition on
the client.


Peggy Fenner wrote:
> Hello. =)
>
> I'm having a bit of trouble with my nfs xen installation and have
> spent much time trying to research/figure out this problem with no
> luck, so I'm hoping someone might be able to help me here. =)
>
> I've successfully installed xen 3.02 on Linux RH4 on my Sun single proc
> opteron v20z server.
>
> I've installed what I believe to be a base Linux OS on a Netapp partition
> and am trying to create a subdomain referencing the netapp nfs mount.
> The xm create dies with the following errors:
>
> Making device nodes
> File descriptor 3 left open
>   No volume groups found
> Creating root device
> Mounting root filesystem
> mount: error 6 mounting ext3
> mount: error 2 mounting none
> Switching to new root
> switchroot: mount failed: 22
> umount /initrd/dev failed: 2
> Kernel panic - not syncing: Attempted to kill init!
>
> My nfs configs from my config file are the following:
> # Root device for nfs.
> root = "/dev/nfs"
> # The nfs server.
> nfs_server = '172.21.156.15'
> # Root directory on the nfs server.
> nfs_root   = '/vol/xen/xenlinux-mv-01'
>
> I can mount that manually.
>
> The fstab in the netapp mount looks like this:
> # Root
> 209.157.156.15:/vol/xen/xenlinux-mv-01  /       nfs    
> defaults        0 0
> none                    /dev/pts                devpts 
> gid=5,mode=620  0 0
> none                    /proc                   proc   
> defaults        0 0
> none                    /dev/shm                tmpfs  
> defaults        0 0
>
> I'm really not sure what im missing...
> Any help would be very much appreciated.
>
> Thank you!
> Peggy Fenner
> UNIX Systems Administrator
> peggy@xxxxxxxxxx
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


-- 
Yuri Pismerov, System Administrator
Armor Technologies (Canada) Inc.

P: 905 305 1946 (x.3519)
http://www.armorware.net

Privacy Protection Guaranteed!




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

<Prev in Thread] Current Thread [Next in Thread>