Stale NFS file handle.

I had have shared two log file from A  machine and mounted at B machine. There are alarmfile and pathStatusLog file which is the log file for Newbridge Network Management System.  They are at Sun Solaris Platform using version 2.6 .

But after 2 or 3 days, I get the following error message for the alarmfile but the pathStatusLog is fine.
      "Stale NFS file handle "

Anyway to resolve this or any patches is required? I know this problem is solved by rebooting the machine but this is in operational, I can't simply reboot the machine.
will_pohAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mpassCommented:
Stale NFS file handles usually occur when you lose network connection to the NFS server (network drop-outs, server reboot, etc...). You can prevent it by using the automounter instead of a straight nfs mount. The automounter only mounts the filesystem when it's needed and it unmounts it after a set period (that you can change) of inactivity. See the following for more information.


http://docs.sun.com/ab2/coll.47.4/NETSHARE/@Ab2PageView/7779?Ab2Lang=C&Ab2Enc=iso-8859-1

0
will_pohAuthor Commented:
Thanks, for you useful info....
0
ahoffmannCommented:
> You can prevent it by using ..
NO.
You cannot prevent this. As long as there is a mount point, and the target is unavailable for any reason, you get this error.
Automount just makes it more unlikely that it occours.
AFAIK there is no other workaround than reboot.
I'm not shure if hard- instead of softmounts solve the problem, but they have the disadvantage, that the client hangs as long as the server is unavailable (usually not acceptable)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.