LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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
 
Thread Tools
Old 05-24-2004, 02:29 PM   #1
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268
Thanked: 0
What would make an NFS mount EXTREMELY slow ?


[Log in to get rid of this advertisement]
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?
lostboy is offline     Reply With Quote
Old 05-24-2004, 02:39 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,036
Thanked: 0
Is RPC started and not firewalled out on both boxes?
david_ross is offline     Reply With Quote
Old 05-24-2004, 03:46 PM   #3
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268
Thanked: 0

Original Poster
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.
lostboy is offline     Reply With Quote
Old 06-17-2004, 10:20 PM   #4
ewoudenberg
LQ Newbie
 
Registered: Jun 2004
Posts: 1
Thanked: 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
ewoudenberg is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 Off
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 05:34 PM
Extremely slow mount times for NFS wayloud Linux - Networking 2 06-04-2005 01:58 AM
Slow NFS mount, server questions dezza Linux - Networking 1 11-17-2004 03:49 AM
NFS mount very slow Toxe Linux - Networking 5 10-25-2004 11:26 AM
sdl games are slow extremely slow linksocc Linux - Software 7 01-17-2004 04:53 PM


All times are GMT -5. The time now is 10:08 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration