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

'lfs getstripe' follows symlink by default

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0, Lustre 2.15.4
    • Lustre 2.0.0
    • None
    • 9223372036854775807

    Description

      From DDN-3436, by Andreas:

      It makes sense that getstripe should print the target information (assuming it is in Lustre at all). This is complicated a bit by the fact that getstripe looks up the name of the symlink on the MDS and it has no striping info, and never opens the symlink at all.

      What makes sense is for the "lfs getstripe" code on the client to detect this is a symlink (the file type is already known during traversal) and do a separate lookup of the target file/dir, unless a "--no-follow" option is given.

      Attachments

        Issue Links

          Activity

            People

              flei Feng Lei
              flei Feng Lei
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: