After running 'fsck.gfs2' on a RHEL 5/6/7 GFS2 filesystem, the 'df' command shows the usage as 0%
Issue
- After running
fsck.gfs2on a RHEL 5/6/7 GFS2 filesystem, thedfcommand shows the usage as 0%. - Ran
fsck.gfs2on a GFS2 file-system but after that it does not show any utilization indf, although all files in the file-system are accessible. For example the following output was shown for the filesystem when running the commanddf:
# 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
