Hi, I am trying to mount NFS on a directory in linux running on the strong arm. The IXP1200 is connected to the PCI of the host running linux. I checked the /etc/exports and /etc/hosts files they seem to be configured fine. I also checked to see if the server on the host machine is running nfs and disabled the firewall. It seems to be working. THe host and card and pinging with each other. But when I try to mount the NFS directory it is not working. When I dumped the packets from pci on the host, I see the target saying the host is unreachable. Any suggestion? Thanks, shiva __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/
Shiva, Try running strace on the linux host and see what you get when the card is trying to mount. It took me a couple of days to figure out that the /etc/hosts file needs an entry for the card since apparently mountd/nfsd does a reverse lookup before allowing the request to go through. Strace will help you figure out what happens at the server when the mount request comes in.
But when I try to mount the NFS directory it is not working. When I dumped the packets from pci on the host, I see the target saying the host is unreachable.
Try finding out the exact error. Otherwise you might end up debugging down the wrong way. FWIW, here are the host file entries in our setup. /etc/exports /opt 192.168.x.y(rw,no_root_squash) /opt 192.168.a.b(rw,no_root_squash) /opt 127.0.0.1(rw,no_root_squash) [ Where /opt is the directory which contains the SDK and 192.168.a.b is the cards pseudo PCI/network interface address and 192.168.x.y is the linux hosts pseudo pci/network interface address. /etc/hosts.allow portmal: ALL rpc.mountd: 192.168.a.b,192.168.x.y,127.0.0.1 /etc/hosts.deny portmap: ALL rpc.mountd: ALL /etc/hosts 127.0.0.1 localhost.localdomain localhost 192.168.a.b ixp1200.dummy.org ixp1200 And finally on the card, do this mount -t nfs 192.168.x.y:/opt /mnt - Abhijeet
Thanks, shiva
participants (2)
-
Abhijeet Joglekar
-
Sundararaman Shiva