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"

            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?
            emoly.liu Emoly Liu added a comment -

            Reassign this to wangdi since he is revising the patch.

            emoly.liu Emoly Liu added a comment - Reassign this to wangdi since he is revising the patch.
            pjones Peter Jones added a comment -

            Emoly

            Could you please refresh the supplied patch to reflect the review feedback?

            Thanks

            Peter

            pjones Peter Jones added a comment - Emoly Could you please refresh the supplied patch to reflect the review feedback? Thanks Peter

            Seems related to LU-4601.

            adilger Andreas Dilger added a comment - Seems related to LU-4601 .

            People

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

              Dates

                Created:
                Updated:
                Resolved: