Operating System - HP-UX
1827435 Members
4502 Online
109965 Solutions
New Discussion

Re: BDF timeout for disconnected NFS links needed

 
SOLVED
Go to solution
TheJuiceman
Super Advisor

BDF timeout for disconnected NFS links needed

Is there a way to make commands like bdf timeout if a nfs link is not found? Or is there a way to mount a nfs link in a way as to not cause a hang? Thanks.
9 REPLIES 9
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: BDF timeout for disconnected NFS links needed

There is a new NFS client that is available at 11.31 but I don't think it is out of Beta yet for 11.23. It offers some improvements. Anything below that and well, NFS is as NFS does. To some degree, you can use the intr NFS mount option but you should understand the consequences of that action. You are concerned about about bdf but really that's rather trivial when compared to applications that depend upon NFS mounts.
If it ain't broke, I can fix that.
TheJuiceman
Super Advisor

Re: BDF timeout for disconnected NFS links needed

That's cool. I'll have to keep an eye out for that when we go to 11.31. In way to handle this in 11.21...any kind of timeout feature somewhere, or way to trick it...without losing reliability?
TheJuiceman
Super Advisor

Re: BDF timeout for disconnected NFS links needed

obviously i meant 11.23. thanks
A. Clay Stephenson
Acclaimed Contributor

Re: BDF timeout for disconnected NFS links needed

Not really. I was part of the Beta for the 11.23 port and the new client is much less subject to hangs (or more accurately the loss of one NFS server doesn't neagatively impact the overall NFS client environment nearly as much).
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: BDF timeout for disconnected NFS links needed

One of the things that does help is to use the automounter (ok autofs) rather than hard NFS mounts. Idle connections are dropped so that the impact of an NFS server loss might not even be apparent.
If it ain't broke, I can fix that.
Peter Nikitka
Honored Contributor

Re: BDF timeout for disconnected NFS links needed

Hi,

I just want to remember:
bdf -l
acts on local filesystem only, so NFS will/should not have any influence with that option. Of course there will be no report for working NFS filesystems as well.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
TheJuiceman
Super Advisor

Re: BDF timeout for disconnected NFS links needed

Thanks everyone
skt_skt
Honored Contributor

Re: BDF timeout for disconnected NFS links needed

NFS problem is always soe thing special for me..
I had a similar problem as you mentioned..Even though the NFs hangs are u able to reach the sever still
I could temporarily mount it to a diff mount point.After that i could dismount /tmp/kumarts and later /software_depot(the hung one)

#mount -F nfs -o soft source:/software_depot /tmp/kumarts

I did update the source and target server's hosts file with other servers nodename(mutually). Updated /etc/exports reexported.

Finally i could fix it w/o a reboot.I was getting a permission denied error too while trying to mount to a diff mount

updated exports similar to this
software_depot -anon=65534,root=target.a.b.com,access=target.a.b.com:.a.b.com
TheJuiceman
Super Advisor

Re: BDF timeout for disconnected NFS links needed

Thanks everyone