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@tellme.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Peggy Fenner > Sent: 31 May 2006 12:56 > To: xen-users@lists.xensource.com > Subject: [Xen-users] NFS root mount problem > > 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@tellme.com > >Is there any chance you haven''t got NFS file-system in the guest Linux kernel? It appears that it''s trying to mount an ext3 volume which fails, that looks a bit weird to me... -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@tellme.com > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users