LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-09-2006, 07:44 AM   #1
dbiswas_slg
LQ Newbie
 
Registered: Oct 2005
Location: Siliguri, INDIA
Distribution: rh9
Posts: 7

Rep: Reputation: 0
Question Why NFS service takes 3min to startup?


Hi,

I was successfully set up and run LTSP4.1 on RH9. The only thing I could not yet figure out after the xinetd started ok, the next thing i.e. NFS service, takes 3 minuts approx to start[the hub indicators start blinking occasionally]!But when the internet connection is on it starts in fraction of a second! All other services start quickly. Once started NFS works full speed and the X terminals can download data in zooming speed.
Tried the exportfs -r with the etc/exports contents commented but no change in NFS startup time.
I tried to search from the LQ threads but not found any solutions.
Hope someone had solved similar thing can help me.

Thanks for your views.

dbiswas_slg
 
Old 10-09-2006, 10:50 PM   #2
mhearne
Member
 
Registered: Nov 2004
Location: Amarillo, TX
Distribution: Mandriva
Posts: 91

Rep: Reputation: 15
My server is named proton and has an ip number of 192.168.0.1
A target machine is named lepton and has an ip number of 192.168.0.251

They are connected through a wired LAN, and the purpose of this connection is so that proton can act as an installation server for the network.

In proton /etc/exports:

/var/ftp/ *(rw,no_root_squash,async)
/var/ftp/ 192.168.0.1(rw,async) 192.168.0.251(rw,async)

In lepton /etc/fstab:

proton:/var/ftp /var/ftp nfs rsize=8192,wsize=8192,nosuid,rw,soft 0 0

Where /var/ftp is the partition on proton, that is to be mounted on lepton (an empty /var/ftp must exist on lepton to mount).

The server also forwards the internet connection to the network (IP Forwarding through Shorewall), but has no effect on NFS.

HTH

Last edited by mhearne; 10-09-2006 at 11:32 PM.
 
Old 10-11-2006, 05:11 AM   #3
dbiswas_slg
LQ Newbie
 
Registered: Oct 2005
Location: Siliguri, INDIA
Distribution: rh9
Posts: 7

Original Poster
Rep: Reputation: 0
internet affect NFS startup speed

Quote:
Originally Posted by mhearne
My server is named proton and has an ip

They are connected through a wired LAN, and the purpose of this connection is so that proton can act as an installation server for the network.

In proton /etc/exports:

/var/ftp/ *(rw,no_root_squash,async)
/var/ftp/ 192.168.0.1(rw,async) 192.168.0.251(rw,async)

In lepton /etc/fstab:

proton:/var/ftp /var/ftp nfs rsize=8192,wsize=8192,nosuid,rw,soft 0 0

Where /var/ftp is the partition on proton, that is to be mounted on lepton (an empty /var/ftp must exist on lepton to mount).

The server also forwards the internet connection to the network (IP Forwarding through Shorewall), but has no effect on NFS.

HTH
Thanks mhearne,
My setup already exporting perfectly and I was using it. But the starup speed affected by internet now needed to solved.
Hope the dns is not to be reconfigured. -- dbiswas_slg
 
Old 10-12-2006, 12:55 AM   #4
mhearne
Member
 
Registered: Nov 2004
Location: Amarillo, TX
Distribution: Mandriva
Posts: 91

Rep: Reputation: 15
What have you changed in your system lately? Have you added new hardware, such as a new router or access point? Have you installed any new software that may have changed your config files?

Check the order of your startup programs in /etc/init.d

In other words, if you are using a graphical interface, then you are using rc5.d and you should see entries like: rc5.d/S80postfix -> ../init.d/postfix* , etc.

Since you said it was working ok, then something must have changed recently.
 
Old 10-12-2006, 01:09 AM   #5
dbiswas_slg
LQ Newbie
 
Registered: Oct 2005
Location: Siliguri, INDIA
Distribution: rh9
Posts: 7

Original Poster
Rep: Reputation: 0
no change except trying to set user quota

Quote:
Originally Posted by mhearne
What have you changed in your system lately? Have you added new hardware, such as a new router or access point? Have you installed any new software that may have changed your config files?


Since you said it was working ok, then something must have changed recently.
As I posted that, tryed with /etc/exports contents all commented to see that file system mounting problem or not so uncommented and returned back to previous working exports.
No more change. Trying the user quota to set and make the brcfg with one more NIC but work ...unsuccessful yet and take the NIC down and quota off.
Thanks for your response.
Dbiswas
 
Old 10-12-2006, 03:30 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If you haven't changed your set-up since the original post
http://www.linuxquestions.org/questi...d.php?t=489676
I guess that the fact that the IP you export to is NOT on a
private IP range may be the reason for it taking so long if DSL
is not connected.


Cheers,
Tink

P.S.: For future reference: DON'T double/triple post.
 
  


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
NFS service takes tooo long to start dbiswas_slg Linux - Networking 1 10-12-2006 04:22 AM
nfs mount takes forever muddywaters Linux - Networking 3 04-29-2006 01:13 AM
NFS mount takes 6 seconds drspiffy Linux - Networking 5 03-16-2005 09:34 PM
Starting nfs takes 2 minuts frank_lis Linux - Networking 0 07-07-2004 04:25 PM
nfs service starts, however it takes 15 mins Kilka Linux - Networking 3 04-30-2004 04:36 PM


All times are GMT -5. The time now is 09:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration