LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-17-2006, 09:40 AM   #1
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
nfs mount takes forever


I was given an old 266 pentium I that now runs Slackware 10.1. The other machine is a multiboot with nfs-kernel-server installed in Mepis. The machines are linked together by a d-link DI604 router.

I figured this would be a good time to learn some networking, which I know next to nothing about. The problem at the moment is mounting the shared directory takes about 4 to 5 minutes. Once mounted it does everything hoped for.

>portmap is running
>the entry in /etc/exports>/home/me/bin 192.168.0.100(rw) (it defaults to sync)
>all firewalls disabled
>the command used to mount>mount -t nfs -o rw 192.168.0.101:/home/me/bin /mnt/slackbox/
>The OPTIONS line in /etc/default/portmap is commented out

I would like to solve this before making the rest of changes to finish the setup. If more information is needed I will gladly provide it.
 
Old 04-17-2006, 05:52 PM   #2
CDollmont
Member
 
Registered: Feb 2006
Distribution: Ubuntu/OpenSuSE
Posts: 33

Rep: Reputation: 15
1) Any messages in the logfiles on .101?
2) Do you have DNS running? If so, can you do a forward *and* reverse lookup for .101 from .100?
3) Is there an entry for .101 in the /etc/hosts file on .100?
 
Old 04-23-2006, 11:33 AM   #3
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Original Poster
Rep: Reputation: 30
CDollmont

Thankyou for you're reply and sorry for the long delay responding. Shortly after posting I was called away, a hazard of my occupation.

The answer to your questions to the best of my ability;

1) Not sure what log files to check. /var/log/syslog shows;
APR 23 0:9:16:24 localhost mountd[4079]: authenticated mount request from 192.168.0.100:939 for /home/jeffb/bin (/home/jeffb/bin)
there is no mention of failed attempts, umount works very quickly. The mount command seems to take 5min reliably.

2) OK, I don't know much about DNS other than connecting the router to the ISP's DNS. The d-link uses dhcp locally. The 192 addresses are static, permanently bound to the MAC addresses. Is DNS something I need to understand for the LAN side of the network? This is new territory to me.

3) No, /etc/hosts on 100 (foobar, the client) contains these lines
127.0.0.1 localhost
127.0.0.1 foobar.localdomain foobar

The guide I've been using makes no mention of needing portmap running on the client machine. Another guide suggests this is needed. Any idea which one is right?

/etc/resolve.conf is identical on both machines;
nameserver 192.168.0.1
this is the address of the router.
 
Old 04-29-2006, 02:13 AM   #4
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by muddywaters
The guide I've been using makes no mention of needing portmap running on the client machine. Another guide suggests this is needed. Any idea which one is right?
Just to clean up this thread and possibly help someone else;
The /etc/rc.d/rc.inet2 script in Slackware reads in part "If you do not run portmap, NFS partitions will not mount properly"
Setting rpc.portmap to start at boot on the client machine solved the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
X takes forever to load mrclisdue Linux - General 12 04-19-2006 09:43 PM
Ubuntu won't automount, manual mount takes forever leupi Linux - Networking 1 01-22-2006 06:36 PM
NFS mount takes 6 seconds drspiffy Linux - Networking 5 03-16-2005 10:34 PM
NFS and Samba takes forever to start. tripmix Linux - Newbie 4 12-16-2004 09:02 PM
startup takes forever maybbach Linux - Newbie 5 07-07-2004 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:06 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