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

efficiently delete a range of quota IDs for LQA/MTFL

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • Lustre 2.17.0

      It should be possible to efficiently delete a range of quota IDs, using the same iteration from "lfs quota -a {-u,-g,-p} -s START -e END" to list the actual IDs in the range, and then the code from "lfs quota --delete {-u,-g,-p} ID" to delete each of the present IDs.

      Otherwise, when deleting a 100k-ID LQA range that has an unknown number of in-use UID/GID/PROJID, it might need up to 300k individual "lfs quota --delete -u ID" commands to be run, which seems impractical from a usage POV (and probably very slow).

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

              Created:
              Updated: