GFS2 shows different total filesystem usage between du and df output

Solution Verified - Updated -

Issue

  • We are seeing a big difference between the disk space usage reported by du and df on a GFS2 filesystem.
  • The du and df total usage size of a GFS2 file-system eventually drift apart after running the fsck.gfs2 command.

Environment

  • Red Hat Enterprise Linux Server 5 (with High Availability and Resilient Storage Add-ons)
  • Global File System 2 (GFS2)

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