LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why NFS service takes 3min to startup? (https://www.linuxquestions.org/questions/linux-newbie-8/why-nfs-service-takes-3min-to-startup-490799/)

dbiswas_slg 10-09-2006 07:44 AM

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:confused:

mhearne 10-09-2006 10:50 PM

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

dbiswas_slg 10-11-2006 05:11 AM

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

mhearne 10-12-2006 12:55 AM

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.

dbiswas_slg 10-12-2006 01:09 AM

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

Tinkster 10-12-2006 03:30 AM

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.


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