1832934 Members
3091 Online
110048 Solutions
New Discussion

Stale NFS file handle

 
SOLVED
Go to solution
gibily
Occasional Advisor

Stale NFS file handle

Hi, we are working on HP-UX 11 64bits, and we have "Stale NFS file handle" for /cdrom,
everytime we do a bdf.
Anybody knows how to get rid of this error, in order to reuse /cdrom for another NFS mount ?
Thanks.
6 REPLIES 6
John Carr_2
Honored Contributor

Re: Stale NFS file handle

Hi


easiest option is reboot if allowed.

second option mount /dev/dsk/cXtXdX on /SD_CDROM

John.
Sachin Patel
Honored Contributor

Re: Stale NFS file handle

This error message appears on client for servers nfs file systems. to solve this you have to restart nfs on server. Most probable it is

#/sbin/rc3.d/S100nfs.server stop
#/sbin/rc3.d/S100nfs.server start

Sachin
Is photography a hobby or another way to spend $
H.Merijn Brand (procura
Honored Contributor
Solution

Re: Stale NFS file handle

Is it mounted with pdf, straight to a device, or dfs/nfs?

'fuser -c /mountpoint' might help to tell you who had the cd in use, and so might 'showmount'

If anything fails, a reboot might be faster than finding the locking process
Enjoy, Have FUN! H.Merijn
James Odak
Valued Contributor

Re: Stale NFS file handle

if i understand this corectly you are using /cdrom as an imported NFS mount from another server?
the way i found how to fix this without rebooting is as follows
using sam delete the NFS entry for that f/s and recreate it
if it gives you trouble such as it isnt there but when you try and recreate it it says it is then go to the /etc/imports and delete out the line you are trying to recreate and go back to sam to create the NFS import again
Hope this helps

Jim
gibily
Occasional Advisor

Re: Stale NFS file handle

Thanks all, for your answers.
Procura was right,
I did 'fuser -c /cdrom' and I just killed the related process, therefore I was able to umount /cdrom.

Ian Killer_1
Regular Advisor

Re: Stale NFS file handle

Disabling and enabling the client (where you get the bdf error) through sam worked for me.
Where ever the gypsies rome.