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

quota: usage is lost when an ID becomes enforced by default quota

XMLWordPrintable

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

      When default quotas are applied, newly enforced QIDs at the quota slaves(OSTs and MDTs) don't report quota usage to the QMT.

      This happens when:

      • a default limit is set ("lfs setquota -U/-G/-P -B ...") while the ID already uses the default quota, or
      • an ID is switched back to the default quota ("lfs setquota -u ID -D") while a default limit is set.

      The usage stays unknown until the ID writes again to the same target or the quota slave reintegrates, so it is most visible with files spread over several OSTs.

      Example (2 OSTs, default limit 10 MB):

      • the user writes 20 MB to OST0000 while no default limit is set
      • "lfs setquota -U -B 10M" is set
      • the user can still write to OST0001 because OST0000 didn't report 20MB usage. 

            scherementsev Sergey Cheremencev
            scherementsev Sergey Cheremencev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: