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

    • Technical task
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 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

            [LU-7514] add project quota support to lfs find, lfs getstripe, lfs setstripe
            pjones Peter Jones added a comment -

            This work was tracked under LU-4017 in the end

            pjones Peter Jones added a comment - This work was tracked under LU-4017 in the end

            This is part of Project quota patch series. https://review.whamcloud.com/#/c/23955

            ihara Shuichi Ihara (Inactive) added a comment - This is part of Project quota patch series. https://review.whamcloud.com/#/c/23955

            People

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

              Dates

                Created:
                Updated:
                Resolved: