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

Quota doesn't work over 4TB on single OST

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.1.4, Lustre 1.8.9
    • Lustre 1.8.8
    • None
    • CentOS5.8 Lustre-1.8.8-wc1
    • 2
    • 4061

    Description

      We set quota "ug3" to all OSTs and MDT, then an also set 5TB quota limitation to a user. But, if user1 writes files to single OST, it exceeds quota limitation when total file size gets 4TB.

      # lfs quota -v -u user1 /lustre/
      Disk quotas for user user1 (uid 1000):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
             /lustre/ 4295057504       0 5368709120       -      13       0       0       -
      lustre-MDT0000_UUID
                            4       -    1024       -      13       -       0       -
      lustre-OST0000_UUID
                            0       -    1024       -       -       -       -       -
      lustre-OST0001_UUID
                      4295057500*      - 4294959104       -       -       -       -       -
      lustre-OST0002_UUID
                            0       -    1024       -       -       -       -       -
      lustre-OST0003_UUID
                            0       -    1024       -       -       -       -       -
      ..
      ..
      
      # lctl get_param lquota.*.quota_type
      lquota.lustre-OST0001.quota_type=ug3
      lquota.lustre-OST0004.quota_type=ug3
      lquota.lustre-OST0008.quota_type=ug3
      lquota.lustre-OST000c.quota_type=ug3
      lquota.lustre-OST0011.quota_type=ug3
      lquota.lustre-OST0015.quota_type=ug3
      lquota.lustre-OST0019.quota_type=ug3
      lquota.lustre-OST001d.quota_type=ug3
      lquota.lustre-OST0021.quota_type=ug3
      lquota.lustre-OST0025.quota_type=ug3
      lquota.lustre-OST0028.quota_type=ug3
      lquota.lustre-OST002d.quota_type=ug3
      lquota.lustre-OST0031.quota_type=ug3
      lquota.lustre-OST0035.quota_type=ug3
      lquota.lustre-OST0039.quota_type=ug3
      
      # lctl get_param lquota.*.quota_type
      lquota.lustre-MDT0000.quota_type=ug3
      

      Attachments

        1. debuglog.txt.gz
          3.78 MB
        2. reproducer.sh
          0.4 kB
        3. setlimit_err_msg.patch
          0.8 kB
        4. setlimit_err_msg.patch
          0.8 kB

        Issue Links

          Activity

            People

              ys Yang Sheng
              ihara Shuichi Ihara (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: