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

Request for option not to follow symlink when setting project ID

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      lustre 2.7.21.3-ddn33
    • Rank (Obsolete):
      9223372036854775807

      Description

      Currently, when issuing "lfs project -srp xxxx DIR", command follows symbolic link and set project ID for the target of the link. Customer want a new option not to follow symbolic link.

      Can you please think on implementing a new option?

      They want to have quota based on directory.
      For instance, when there are two users and symlinks are created as follows,

        /home/user01/backup/link01 -> /home/user02/backup/file01
        /home/user02/backup/link02 -> /home/user01/backup/file02
      

      Then, when they issue 'lfs project' command,

        lfs project -p 10001 -s -r /home/user01/backup
        lfs project -p 10002 -s -r /home/user02/backup
      

      Project ID for /home/user01/backup/file02 will be "10002". As they want project IDs for all the files under /home/user01/backup to be "10001", considering this kind of possibility, they need to check all the files under the directory. They just want to simply run a command on a directory.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wshilong Wang Shilong
                Reporter:
                mnishizawa Mitsuhiro Nishizawa
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: