Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4603

NFS reexport leads to problems of "ls"

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.6.0
    • Lustre 2.6.0
    • 3
    • 12590

    Description

      When "ls" under a NFS directory, following error message showes up.

      ls: reading directory .: Too many levels of symbolic links

      And what is more, if the dirctory is large, (e.g. has more than 23 files), there will be some files missing when doing "ls".

      [root@vm1 nfs]# ls * | wc -l
      97
      [root@vm1 nfs]# ls -l | wc -l
      ls: reading directory .: Too many levels of symbolic links
      98
      [root@server1 113_nfs]# ls /mnt/lustre/nfs/* | wc -l
      100

      We've confirmed that these problems is introduced by 4e0c8ae(LU-3531 llite: move dir cache to MDC layer). A patch which fixes these problems will be pushed soon.

      Attachments

        Issue Links

          Activity

            [LU-4603] NFS reexport leads to problems of "ls"
            jlevi Jodi Levi (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Patch landed to Master and fix confirmed in last comment. Please reopen if more work is needed in this ticket.

            jlevi Jodi Levi (Inactive) added a comment - Patch landed to Master and fix confirmed in last comment. Please reopen if more work is needed in this ticket.

            Hi Oleg,

            I've confirmed that the newest patch set (Patch Set 28) fixes my problem. Thanks for reminding.

            lixi Li Xi (Inactive) added a comment - Hi Oleg, I've confirmed that the newest patch set (Patch Set 28) fixes my problem. Thanks for reminding.
            green Oleg Drokin added a comment -

            Li Xi: I wonder if you tried the revised patch to ensure it still fixes your original report? Can you give it a try please?

            green Oleg Drokin added a comment - Li Xi: I wonder if you tried the revised patch to ensure it still fixes your original report? Can you give it a try please?
            pjones Peter Jones made changes -
            Labels Original: HB p4j patch New: HB patch
            di.wang Di Wang (Inactive) made changes -
            Link New: This issue is related to LU-4869 [ LU-4869 ]
            di.wang Di Wang (Inactive) made changes -
            Link Original: This issue is related to LU-3531 [ LU-3531 ]
            jlevi Jodi Levi (Inactive) made changes -
            Labels Original: p4j patch New: HB p4j patch
            jlevi Jodi Levi (Inactive) made changes -
            Labels Original: MB p4j patch New: p4j patch
            di.wang Di Wang (Inactive) made changes -
            Link New: This issue is related to LU-3531 [ LU-3531 ]

            People

              di.wang Di Wang (Inactive)
              lixi Li Xi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: