Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4017 Add project quota support feature
  3. LU-7514

add project quota support to lfs find, lfs getstripe, lfs setstripe

    Details

    • Type: Technical task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Rank (Obsolete):
      9223372036854775807

      Description

      In order to be able to use project quota efficiently, it makes sense to be able to print the current project ID of a file, search for files owned by a specific project, as well as specify the project ID at file creation time.

      This means adding a --project=ID option to lfs find to print only filenames that match the specified project ID.

      For lfs getstripe the --project option will print out the project ID of the file, or directory, as I don't think there is any support for stat or ls to print out the project ID of a file or directory.

      For lfs setstripe the --project=ID option will create the file with the specified project ID, if the user has permission to do so. I'm not 100% sure if this is needed - what is the planned user interface for setting the project ID of a new file or directory, besides inheriting the project ID from the parent?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wc-triage WC Triage
                Reporter:
                adilger Andreas Dilger
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: