RE: Stale NFS file handle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jake,

I've had a similar problem to this, but when I umount -f, it would fail
because there were files in use...  an lsof told me which processes were
still trying to access the NFS mounts, killing them (kill -HUP) was enough
to free the filesystem locks, and umount -f, mount -a the NFS links.

YMMV, since I see no "file in use" errors in your output...

Regards,

Gavin McDonald
========================
EVI Logistic Enterprises
email: me@xxxxxxxxxxxx
phone: (604) 313-3845


> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of Posey, Jake E
> Sent: Thursday, February 02, 2006 1:47 PM
> To: redhat-list@xxxxxxxxxx
> Subject: Stale NFS file handle
> 
> Is there a way to clear stale nfs mounts without rebooting the nfs
> client?
> 
> 
> 
> I have a file system that is mounted on 2 systems.  On system a the file
> system is fine, but on system b the file system is stale.  It looks like
> the mount point lost it's inodes
> 
> 
> 
> ?---------  ? ?    ?       ?            ? sw
> 
> 
> 
> I tried umounting the file system but now luck.
> 
> 
> 
> [root@lcas100 export_intel_boeing]# umount
> /export_intel_boeing/sw/fsl/gscm/intel
> 
> umount: /export_intel_boeing/sw/fsl/gscm/intel: Stale NFS file handle
> 
> umount: /export_intel_boeing/sw/fsl/gscm/intel: Stale NFS file handle
> 
> [root@lcas100 export_intel_boeing]#
> 
> 
> 
> I even tried using the -f option to force a umount but got the same
> results.  I also tried re-exporting the file system on the nfs server,
> same results.
> 
> 
> 
> Is there another way to unmount the file system without rebooting the
> nfs client?
> 
> 
> 
> Note: the file system is in a SAN environment on a EMC NS600.
> 
> 
> 
> Thanks for your assistance.
> 
> 
> 
> Jake E. Posey
> 
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux