[sclug] Gentoo - Slow network mount

Scott Rixon scott at green-flag.com
Sat Oct 25 09:05:30 UTC 2003


Portmap wasn't started!! Many thanks.. You learn something everyday.. So
what does portmap do?

Scott

On Wed, 2002-11-13 at 16:30, J. Mann wrote:
> 
>  --- Scott Rixon <scott at green-flag.com> wrote: 
> 
> > When I try and mount a remote filesystem on my Gentoo box it takes
> > ages...
> > 
> > I have a directory on my box called /data01 and an export on a remote
> > box (greenflag) called /data01...
> > 
> > I issue the command 'mount -t nfs greenflag:/data01 /data01'
> > 
> > It then sits there for about 20mins and then mounts!! The other box is a
> > RedHat 7.2 and the mount was fine onto my RedHat 7.3 box..
> 
> Some thoughts:
> 
> 1. It could possibly be down to a reverse lookup of the IP. Have 
> you got a working DNS ? Ensure the respective IP addresses 
> are in the machines "/etc/hosts". For example, on both 
> machines, make sure the file includes something like:
> 
>         192.168.0.5  hostservername
>         192.168.0.6  hostclientname
> 
> 2. What do the logs say ?
> 
> 3. Since you actually do make a mount, this does not appear to be a 
> security issue. However, it is always good to review "/etc/hosts.allow" 
> and "/etc/hosts.deny". Check to ensure everything appears OK.
> 
> 4. Check that portmap is running (on the client) 
> before the mount. To be sure, execute (as root):
> 
>   /etc/init.d/portmap start
> 
> And to make it happen on bootup:
> 
>   rc-update add portmap default
> 
> 5. Read the NFS HOWTO, particularly the security advice:
> 
> http://new.linuxnow.com/docs/content/NFS-HOWTO-html/NFS-HOWTO-6.html#nfs-security
> 
> 
> Sorry about the lack of list headers. My mail 
> setup is currently less than ideal.
> 
> Regards,
> Jon.
> 
> _______________________________________________
> sclug mailing list
> sclug at sclug.org.uk
> http://www.sclug.org.uk/mailman/listinfo/sclug
> 





More information about the Sclug mailing list