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

lfs quota should print "-" instead of "0" if limit is not set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      There is no way to distinguish "0"(aka unlimited) and not set quota limits. In both cases "lfs quota" prints 0. This is particularly important when applying default quotas as default quotas won't be applied to the IDs with zero limits.

      One of possible solutions is to print a dash instead of zero if no limits haven't been applied to this ID.

      Note, "lfs setquota --delete" can be used to to remove any limits(including zero limits) for the ID. It could be needed to be sure that default quotas would be applied for such ID.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              scherementsev Sergey Cheremencev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: