[ixp1200] mounting NFS

Abhijeet Joglekar abhijeet at cs.utah.edu
Tue Apr 2 12:20:13 EST 2002


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
> 




More information about the ixp1200 mailing list