Why repquota shows different size as compared to du?

Solution Verified - Updated -

Issue

  • repquota shows different size as compared to du
[root@servername]# repquota /xyz | awk 'NR == 3 || NR == 4|| /username/'
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
username    -- 100663296 152043520 157286400        2584811     0     0

[root@servername]# du -sch /xyz
68157440     abc
  • Space occupied by Quota enabled user does not get updated automatically.

Environment

  • Red Hat Enterprise Linux (RHEL) 5
  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 7
  • Quota

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content