After updating the NFS-server to RHEL-5.9, ls or ls with a wildcard is not displaying the files on NFS share
Issue
-
Files on NFS share are not getting displayed while executing
ls
orls
with wildcard, but the same is displaying ls with exact file name:- on the NFS-client in the mountpoint:
user@nfs-client $ ls -x1 | wc -l 3
- on the NFS-server in the exported directory:
user@nfs-server $ ls -x1 | wc -l 347
-
On RHEL 6 NFS client, multiple
.
&..
entries getting listed when looking at them usingls
? These direcories not there on NFS server:
# ls -il /<NFS_Mounted_Dir>
30573701 drwxr-xr-x. 2 root root 12288 May 6 2010 .
30572769 drwxr-xr-x. 9 root root 4096 May 6 2010 ..
30572769 drwxr-xr-x. 9 root root 4096 May 6 2010 ..
30572769 drwxr-xr-x. 9 root root 4096 May 6 2010 ..
30572769 drwxr-xr-x. 9 root root 4096 May 6 2010 ..
30573702 -rw-r--r--. 1 root root 2712 Nov 10 2009 file1.html
30573702 -rw-r--r--. 1 root root 2712 Nov 10 2009 file1.html
30573702 -rw-r--r--. 1 root root 2712 Nov 10 2009 file1.html
30573702 -rw-r--r--. 1 root root 2712 Nov 10 2009 file1.html
Environment
- Red Hat Enterprise Linux 5.9 on the NFS-server
- NFS-server running kernel 2.6.18-348.1.1.el5
- NFS Version 3 (NFS v3)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.