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

'df' does not show actual usage when over quota

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.14.0, Lustre 2.16.1
    • 3
    • 9223372036854775807

    Description

      Running 'df' on a directory with a hierarchical project quota where the project is over quota, then the filesystem usage is always reported at 100%, instead of the actual percentage used (over 100%).

      $ lfs quota -a -p /fsname/test_quota/ -h
      Filesystem /fsname/test_quota/, Disk prj quotas
        quota_id    used   quota   limit   grace   files   quota   limit   grace
               0  3.312T      0k      0k       -  402811       0       0       -
             111  2.245T*   900G      1T       -      16       0       0       -
      $  df -h .
      Filesystem            Size  Used Avail Use% Mounted on
      mgsnode@o2ib:/fsname  900G  900G     0 100% /fsname
      

      It should report the actual space usage and (hopefully) df will report a percentage used over 100% used.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: