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

Request for option not to follow symlink when setting project ID

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.15.0
    • None
    • None
    • lustre 2.7.21.3-ddn33
    • 9223372036854775807

      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.

            wshilong Wang Shilong (Inactive)
            mnishizawa Mitsuhiro Nishizawa
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: