Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.4.0
    • Lustre 2.3.0
    • None
    • RHEL6.3

    Description

      Symlinks with a destination path that has the exact length of 61 characters don't work.

      For example

      $ ln -s 123456789012345678901234567890123456789012345678901234567890
      $ ls -al
      ls: cannot read symbolic link 123456789012345678901234567890123456789012345678901234567890: Protocol error

      Symlinks with shorter or longer paths work fine. I assume an off-by-one error, since 60 characters seems to be the limit for storing the symlink inside of an inode.

      Lustre 2.2.0 did not have this problem.

      Attachments

        Issue Links

          Activity

            [LU-2241] symlink bug in 2.3.0
            adilger Andreas Dilger made changes -
            Link Original: This issue is related to LU-2405 [ LU-2405 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-2405 [ LU-2405 ]
            utopiabound Nathaniel Clark made changes -
            Link New: This issue is related to LU-2405 [ LU-2405 ]
            utopiabound Nathaniel Clark added a comment - - edited

            b2_1 version of this patch submitted to fix LU-2405
            http://review.whamcloud.com/4711

            utopiabound Nathaniel Clark added a comment - - edited b2_1 version of this patch submitted to fix LU-2405 http://review.whamcloud.com/4711
            utopiabound Nathaniel Clark made changes -
            Fix Version/s New: Lustre 2.4.0 [ 10154 ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            Change has been successfully cherry-picked as 6c3606b79a4c25946255a680f79ff2d58df66bbc

            utopiabound Nathaniel Clark added a comment - Change has been successfully cherry-picked as 6c3606b79a4c25946255a680f79ff2d58df66bbc
            keith Keith Mannthey (Inactive) added a comment - - edited

            Thanks for adding a test to sanity.sh.

            keith Keith Mannthey (Inactive) added a comment - - edited Thanks for adding a test to sanity.sh.
            utopiabound Nathaniel Clark added a comment - - edited

            http://review.whamcloud.com/4415

            Since this is a server only issue, The client code doesn't need to be patched, I believe this only affects master.

            utopiabound Nathaniel Clark added a comment - - edited http://review.whamcloud.com/4415 Since this is a server only issue, The client code doesn't need to be patched, I believe this only affects master.

            Reproduced with MDS/MGS/OSS servers 2.3.54

            The following client versions exhibited this issue:

            • 2.3.54
            • 1.8.8.60
            utopiabound Nathaniel Clark added a comment - Reproduced with MDS/MGS/OSS servers 2.3.54 The following client versions exhibited this issue: 2.3.54 1.8.8.60
            utopiabound Nathaniel Clark made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]

            People

              utopiabound Nathaniel Clark
              wbaudler Wolfgang Baudler
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: