Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS Config for connection Timeout

Status
Not open for further replies.

kd4pba

MIS
Mar 31, 2002
43
US
I am confused on this one, maybe someone can answer this.

I have several boxes running Linux , RedHat 7.3 and 8.0.
I have NFS shares on each of them.

Here is an example of my problem.
If Box (a) is sharing mount /home
and Box (b) has this share mounted
and Box (a) crashes I have issues shutting down Box (b), it will hang on trying to Unmount the NFS mount. And when I say hang, its forever, I let it sit overnight once and it never got past that point. The problem is these are ummounted before the local file systems. So, If I reset, I end up in FSCK-land, I dont like this place ;-)

Now, in fstab I believe I have it setup for now as just
Example
box(a):/home nfs
I am not sure what additional param's to put in for timeout.

Also I am exporting this as no_root_squash, I know I should not but this is for testing.

Is there a way to get a timeout so my system does not hang when trying to umount something that it cannot connect to?

thanks

 

Well, you'd have to use the options hard,intr but it's not recommended.

Cheers Henrik Morsing
IBM Certified AIX 4.3 Systems Administration
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top