Skip to navigation

RHEL 5.8.z kernels returns a 'Not a directory' error on referring symbolic link on nfsv4 mounts

Updated 2012-08-22T11:48:47+00:00

Issue

  • With RHEL5.8 NFSv4 clients, a Not a directory error is returned on referring symbolic links. This problem occurs in kernel-2.6.18-308.4.1(RHEL5.8 + errata) and its not seen in kernel-2.6.18-308(RHEL5.8 GA).

  • Steps to reproduce

     mount -t nfs4 server1:/ /data1
     ln -s /data1/foo/test/ nfs_test
     ln -s /data1/foo/test nfs_test2

     head nfs_test/tmp.txt
     head: cannot open `nfs_test/tmp.txt' for reading: Not a directory

     head nfs_test2/tmp.txt
     test messages

Environment

  • Red Hat Enterprise Linux(RHEL) 5.8.z
    • kernel-2.6.18-308.4.1.el5
    • kernel-2.6.18-308.8.1.el5
    • kernel-2.6.18-308.8.2.el5
  • Not seen on Red Hat Enterprise Linux 5.8 (kernel-2.6.18-308.el5)

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.