Directories show difference on used size in 'df' command even though they contain exactly same files

Solution Verified - Updated -


  • Two empty directories were created and the attributes are the same (total size/used/available). But when exact files are copied to the both from somewhere, df command shows different used size.
/dev/mapper/vg01-lvtest1       5029504    602160   4148816  13% /test2
/dev/mapper/vg00-lvtest        5029504    602152   4148824  13% /test1


  • Red Hat Enterprise Linux 7

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