Anthony.Golia@MorganStanley.com
2005-Sep-06 14:27 UTC
[Xen-users] network probs trying to get nfs root to work
Hi. trying to get a domU (dom1) up using nfs root. never done this before ;-). I have dom0 up (2.6.12-xen0) and i have an external nfs server with a nice root disk populated. i get this after xm create -c dom1 vmid=1 . . . IP-Config: Complete: device=eth0, addr=172.31.205.229, mask=255.255.255.0, gw=172.31.205.2, host=vm%d, domain=, nis-domain=(none), bootserver=161.144.120.208, rootserver=161.144.120.208, rootpathLooking up port of RPC 100003/2 on 161.144.120.208 portmap: server 161.144.120.208 not responding, timed out Root-NFS: Unable to get nfsd port number from server, using default while it''s doing this i cant ping dom1 s addr (172.31.205.229) from dom0. what am i doing wrong? any help is appreciated. a snippet of my dom1 conf file: # Set if you want dhcp to allocate the IP address. #dhcp="dhcp" ip=''172.31.205.229'' # Set netmask. netmask=''255.255.255.0'' # Set default gateway. gateway=''172.31.205.2'' # Set the hostname. hostname= "vm%d" # Set root device. #root = "/dev/hda1 ro" # Root device for nfs. root = "/dev/nfs" # The nfs server. nfs_server = ''10.10.10.208'' # Root directory on the nfs server. nfs_root = ''/xen_root'' Cheers, Anthony _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ernst Bachmann
2005-Sep-06 14:32 UTC
Re: [Xen-users] network probs trying to get nfs root to work
On Tuesday 06 September 2005 16:27, Anthony.Golia@morganstanley.com wrote: [...]> IP-Config: Complete: > device=eth0, addr=172.31.205.229, mask=255.255.255.0, > gw=172.31.205.2, > host=vm%d, domain=, nis-domain=(none), > bootserver=161.144.120.208, rootserver=161.144.120.208, rootpath> Looking up port of RPC 100003/2 on 161.144.120.208 > portmap: server 161.144.120.208 not responding, timed out[...]> nfs_server = ''10.10.10.208''Hmm, you configured 10.10.10.208 as nfs server, yet the kernel wants to nfs-mount from 161.144.120.208 ? Thats kinda strange... Maybe double-check the nfs_server options given in your domU config, and try if your NFS-Server can ping the domU while its booting up. /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anthony Liguori
2005-Sep-06 16:17 UTC
Re: [Xen-users] network probs trying to get nfs root to work
I would double check and make sure that you have all of the prereqs installed (bridge-utils, iptables, etc.). You should also give a little more info on your setup (how many nics do you have in dom0 for instance). Regards, Anthony Liguori Anthony.Golia@MorganStanley.com wrote:>Hi. trying to get a domU (dom1) up using nfs root. never done this >before ;-). I have dom0 up (2.6.12-xen0) and i have an external nfs >server with a nice root disk populated. i get this after >xm create -c dom1 vmid=1 > >. >. >. >IP-Config: Complete: > device=eth0, addr=172.31.205.229, mask=255.255.255.0, >gw=172.31.205.2, > host=vm%d, domain=, nis-domain=(none), > bootserver=161.144.120.208, rootserver=161.144.120.208, rootpath>Looking up port of RPC 100003/2 on 161.144.120.208 >portmap: server 161.144.120.208 not responding, timed out >Root-NFS: Unable to get nfsd port number from server, using default > >while it''s doing this i cant ping dom1 s addr (172.31.205.229) from dom0. >what am i doing wrong? any help is appreciated. > >a snippet of my dom1 conf file: > ># Set if you want dhcp to allocate the IP address. >#dhcp="dhcp" >ip=''172.31.205.229'' ># Set netmask. >netmask=''255.255.255.0'' ># Set default gateway. >gateway=''172.31.205.2'' ># Set the hostname. >hostname= "vm%d" > ># Set root device. >#root = "/dev/hda1 ro" > ># Root device for nfs. >root = "/dev/nfs" ># The nfs server. >nfs_server = ''10.10.10.208'' ># Root directory on the nfs server. >nfs_root = ''/xen_root'' > > > > > >Cheers, >Anthony > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users