Why do du, df, and ls show different results for the same disk block?

Solution Verified - Updated -

Issue

  • After creating vmcore crash image, disk block shows different size for the occupied area.
  • Why it does not show the same output among du -s, df, and ls?

Environment

  • Red Hat Enterprise Linux 3, 4, 5, 6, 7, 8, 9

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