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

group block quota limits not enforced

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • Lustre 2.10.5
    • None
    • 2.10.5 + lots of patches on servers, x86_64, zfs 0.7.9, OPA
      2.10.7 on clients, x86_64, OPA
      group block and inode quotas on.
    • 3
    • 9223372036854775807

    Description

      Hi,

      it doesn't look like lustre is enforcing group block quota. eg.

       > lfs quota -g oz011 /fred
      Disk quotas for grp oz011 (gid 10206):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
                /fred 10893023318*      0 10737418240       -   57475       0 1000000       -
       > dd if=/tmp/urand100 of=/fred/oz011/blah bs=1M
      1000+1 records in
      1000+1 records out
      1048738400 bytes (1.0 GB) copied, 0.995716 s, 1.1 GB/s
       > ls -lsh /fred/oz011/blah
      688M -rw-r--r-- 1 user oz011 1001M Jul  1 21:42 /fred/oz011/blah
       > lfs quota -g oz011 /fred
      Disk quotas for grp oz011 (gid 10206):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
                /fred 10894895294*      0 10737418240       -   57477       0 1000000       -
      

      I can see old quota bugs that look similar, but none currently open.

      all our directories are setgid. ie.

       > ls -ld /fred/oz011
      drwxrws--- 17 root oz011 33280 Jul  1 21:42 /fred/oz011
      

      server is 2.10.5 plus these

      lu11082-lu11103-stuckMdtThreads-gerrit32853-3dc08caa.diff
      lu11418-refreshStale-gerrit33401-v4-71f409c9.diff
      lu11111-lfsck-gerrit32796-693fe452.ported.patch
      lu11418-stopOrphCleanupDaThreadSpinning-gerrit33662-45434fd0.diff
      lu11201-lfsckDoesntFinish-gerrit33078-4829fb05.patch
      lu11419-lfsckDoesntFinish-gerrit33252-22503a1d.diff
      lu11301-stuckMdtThreads2-c43baa1c.patch
      lu11663-partialPageCorruption-gerrit33748-18d6b8fb.diff
      lu11418-hungMdtZfs-gerrit33248-eaa3c60d.diff

      not all of which are in 2.10.x AFAIK (all but one are in 2.12?), so it'd unfortunately be quite a bit of work to update servers to 2.10.8.

      clients are all stock 2.10.7

      thanks

      cheers,
      robin

      Attachments

        Activity

          People

            hongchao.zhang Hongchao Zhang
            scadmin SC Admin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: