LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-24-2004, 01:29 PM   #1
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Rep: Reputation: 30
What would make an NFS mount EXTREMELY slow ?


Network is all properly set up (internet access + able to ping others),
but I am having extremely slow response when I do a :

'mount 192.168.0.101:/drive /mountpoint'

What happens is the console just locks up and I have to kill it. I go and look at the mount point, and it's an empty directory. But then about 10 minutes later, I look at the mount point, and everything is there.

So what is hapening is that the mount command is successful, but only after a delay of several minutes.

When the mount finaly takes, the access to the disk is fine, so I'm not talking about slow response will in-use, just about slow connection response.

Anyone got any ideas?
 
Old 05-24-2004, 01:39 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Is RPC started and not firewalled out on both boxes?
 
Old 05-24-2004, 02:46 PM   #3
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
Thanks for geting me to think about RPC david_ross.
It was indeed an RPC problem. After I did the usual :

/sbin/rpc.portmap
/usr/sbin/rpc.mountd
/usr/sbin/rpc.nfsd
/usr/sbin/rpc.statd
/usr/sbin/rpc.lockd
/usr/sbin/rpc.rquotad

and mounted an NFS share, it happened instantly, no lag on the mount.

What I forgot is that the above steps are neccessary on clients as well as servers.
 
Old 06-17-2004, 09:20 PM   #4
ewoudenberg
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
Slow NFS mount problem solved

Yes, exactly right, thank you so much for this tip! I was really at a loss to discover where the problem was.

I think the simplest change is to just arrange for NFS to run on the client at boot up:

/sbin/chkconfig --level 345 portmap on
/sbin/chkconfig --level 345 nfs on
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow NFS Mount between Gentoo & FreeBSD Gsee Linux - Networking 3 10-23-2006 04:34 PM
Extremely slow mount times for NFS wayloud Linux - Networking 2 06-04-2005 12:58 AM
Slow NFS mount, server questions dezza Linux - Networking 1 11-17-2004 02:49 AM
NFS mount very slow Toxe Linux - Networking 5 10-25-2004 10:26 AM
sdl games are slow extremely slow linksocc Linux - Software 7 01-17-2004 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration