After running 'fsck.gfs2' on a RHEL 5/6/7 GFS2 filesystem, the 'df' command shows the usage as 0%

Solution Verified - Updated -

Issue

  • After running fsck.gfs2 on a RHEL 5/6/7 GFS2 filesystem, the df command shows the usage as 0%.
  • Ran fsck.gfs2 on a GFS2 file-system but after that it does not show any utilization in df, although all files in the file-system are accessible. For example the following output was shown for the filesystem when running the command df:
# df /sapmnt/audit
Filesystem                           Size  Used Avail Use%  Mounted on
 /dev/mapper/vg03-lvol4 58G      0    58G    0%  /sapmnt/audit

Environment

  • Red Hat Enterprise Linux Server 5 (with the High Availability Add Ons)
  • Red Hat Enterprise Linux Server 6 (with the High Availability Add Ons)
  • A Global Filesystem 2(GFS2)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.