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

Quota Account wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Quota reporting zero inode usage for user.

      root.pfe21 # lfs quota -u mcantiel /nobackupp8
      Disk quotas for user mcantiel (uid 30403):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
           /nobackupp8 59604412  530000000 1100000000       -       0  100000  150000       
      

      But user has >74K files

      root.pfe21 # find /nobackupp8/yjiang2/StarMidMHD3 -user mcantiel 2>/dev/null | wc -l
      74223
      

      Example file

      -rw-r--r-- 1 mcantiel s1439 819753 Nov 17 22:20 /nobackupp8/yjiang2/StarMidMHD3/Data/id1569/Star-id1569.0029.vtk
      
      debugfs:  stat Star-id1569.0029.vtk
      Inode: 189531663   Type: regular    Mode:  0644   Flags: 0x0
      Generation: 3904475524    Version: 0x000000c0:2479d74b
      User: 30403   Group: 41439   Size: 0
      File ACL: 0    Directory ACL: 0
      Links: 1   Blockcount: 0
      Fragment:  Address: 0    Number: 0    Size: 0
       ctime: 0x564c909d:00000000 -- Wed Nov 18 06:52:13 2015
       atime: 0x5653822b:00000000 -- Mon Nov 23 13:16:27 2015
       mtime: 0x564c18c1:72aae770 -- Tue Nov 17 22:20:49 2015
      crtime: 0x564c18c1:72aae770 -- Tue Nov 17 22:20:49 2015
      Size of extra inode fields: 28
      Extended attributes stored in inode body: 
        lma = "00 00 00 00 00 00 00 00 77 6e 3b 60 03 00 00 00 69 53 00 00 00 00 00 00 " (24)
        lma: fid=[0x3603b6e77:0x5369:0x0] compat=0 incompat=0
        lov = "d0 0b d1 0b 01 00 00 00 69 53 00 00 00 00 00 00 77 6e 3b 60 03 00 00 00 00 00 10 00 01 00 00 00 2c 43 d0 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5b 00 00 00 " (56)
        link = "df f1 ea 11 01 00 00 00 3e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 26 00 00 00 03 60 3b 46 a9 00 01 3a 2f 00 00 00 00 53 74 61 72 2d 69 64 31 35 36 39 2e 30 30 32 39 2e 76 74 6b " (62)
      BLOCKS:
      
      

      Attachments

        Issue Links

          Activity

            People

              niu Niu Yawei (Inactive)
              mhanafi Mahmoud Hanafi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: