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

XMLWordPrintable

    • Icon: Technical task Technical task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • None
    • 9223372036854775807

      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?

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

              Created:
              Updated:
              Resolved: