Unable to read snapshot NFS volume due to "Stale file handle" error
Applies to
- ONTAP 9
- NFSv3
Issue
- Error
Stale file handle
reported when client performsls
orcd
to a snapshot of a volume.
[root@centos_client_1 ~]# df -h | grep -i mnt
10.216.41.167:/vol1/.snapshot/snap2 103M 320K 103M 1% /mnt
[root@centos_client_1 mnt]# cd fold2
[root@centos_client_1 fold2]# ls -al
total 24
drwxr-xr-x. 6 root root 4096 Nov 7 16:16 .
drwxrwxrwx. 6 root root 4096 Nov 7 16:16 ..
drwxr-xr-x. 2 root root 4096 Nov 7 16:16 fl1
drwxr-xr-x. 2 root root 4096 Nov 7 16:16 fl2
drwxr-xr-x. 2 root root 4096 Nov 7 16:16 fl3
drwxr-xr-x. 2 root root 4096 Nov 7 16:16 fl4
-rw-r--r--. 1 root root 0 Nov 7 16:16 sf1
-rw-r--r--. 1 root root 0 Nov 7 16:16 sf2
[root@centos_client_1 fold2]# cd fl1
-bash: cd: fl1: Stale file handle
[root@centos_client_1 fold2]# cd fl4
-bash: cd: fl4: Stale file handle
[root@centos_client_1 fold2]#