My Oracle Support Banner

Cannot Access NFS Share Directory After Remote NFS Server Reboot (Doc ID 2512059.1)

Last updated on MAY 24, 2020

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64


After the remote NFS server reboot, the local NFS share directory becomes not accessible (stale).

[root@localhost /]# ls -l
ls: cannot access nfs_folder: Stale file handle           <<< "stale" error message when accessing the NFS directory
total 192
drwxrwxr-x. 2 oracle oinstall 4096 Jan 01 2019 u01
dr-xr-xr-x. 2 root root 4096 Jan 01 00:00 bin
d?????????? ? ? ? ? ? nfs_folder          <<< NFS share folder is not accessible


By checking the /etc/mtab, it can be seen that the nfs share is not there.

# cat /etc/mtab | grep nfs_folder
<no output>


However, the nfs share is still listed in the /proc/mounts with the "\040(deleted) nfs" error message.

# cat /proc/mounts | grep nfs_folder
<Remote_NFS_Server_IP_Address>:/remote-nfs-share/nfs_folder /nfs_folder\040(deleted) nfs rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=<Remote_NFS_Server_IP_Address> ,mountvers=3,mountport=2049,mountproto=udp,local_lock=none,addr=<Remote_NFS_Server_IP_Address> 0 0


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.