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

Solution Verified - Updated -

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 exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.