[plug] can only see NFS shares on same machine as NFS server

Bernd Felsche bernie at innovative.iinet.net.au
Mon Aug 11 17:04:32 WST 2003


On Mon, Aug 11, 2003 at 04:52:10PM +0800, Ben New wrote:
> I've been trying to setup NFS for file sharing but having problems 
> connecting from the client to the server.  I can see the shares if 
> logged into the server, using the X tools that come with Mdk 9.1, but 
> can't get anywhere when on a different machine.
> 
> The line from the server's /etc/exports file is like below - I used both 
> the local IP address range and the workstation's host name in the access 
> list to be sure:
> /foo   192.168.0.0/24(rw) wkstn(rw)

Looks like it'd work, so far.

> To mount the NFS path, I first added a line in the wkstn's /etc/fstab 
> like this:
> server:/foo  /mnt/foo  nfs  noauto,posix  0  0

I just test with the mount command, by itself on the client.

> But when doing a "mount /mnt/foo" I get the message:
> mount: RPC: Program not registered
> 
> However the file /etc/rpc contains the line:
> mountd     1000005   mount showmount

Just a hunch but have you set 
	portmap:   192.168.0.
in /etc/hosts.allow?

You could be protecting the stuff with wrappers.

> Doing a "showmount [server]" gives me pretty much the same thing, with 
> an extra name:
> mount clntudp_create: RPC: Program not registered
> 
> And on the workstation, using the Mdk tools for mounting NFS
> shares, I get the name of the server entered into /etc/fstab, but
> nothing else.  If I take the line out of /etc/fstab, I don't even
> get the hostname.
> 
> Why isn't it working?  

You chucked out SuSE; where this is all pretty much a no-brainer to
set up. :-)

> There aren't any settings I need to make on
> the wkstn to let it browse the network properly?

-- 
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ /  ASCII ribbon campaign | I'm a .signature virus!
 X   against HTML mail     | Copy me into your ~/.signature
/ \  and postings          | to help me spread!



More information about the plug mailing list