[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] NFS root mount problem



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.