The utility `fsck.gfs2` reports errors on a GFS2 filesystem for RHEL 6 and RHEL 7: "Error: inode 66433 (0x10381) has invalid allocation goal block 202421 (0x316b5). Should be 66433 (0x10381) Invalid goal block not fixed."
Issue
- The following errors are reported by
fsck.gfs2on a GFS2 filesystem:
# fsck.gfs2 -v /dev/mapper/vgGFS2-lv1
Initializing fsck
Validating Resource Group index.
Level 1 rgrp check: Checking if all rgrp and rindex values are good.
(level 1 passed)
Starting pass1
Error: inode 66433 (0x10381) has invalid allocation goal block 202421 (0x316b5). Should be 66433 (0x10381)
Invalid goal block not fixed.
Error: inode 66433 (0x10381) has invalid allocation goal block 202421 (0x316b5). Should be 66433 (0x10381)
Invalid goal block not fixed.
Error: inode 90583 (0x161d7) has invalid allocation goal block 4178658 (0x3fc2e2). Should be 90583 (0x161d7)
Invalid goal block not fixed.
[.....]
Starting pass1b
Pass1b complete
Starting pass1c
Pass1c complete
Starting pass2
Pass2 complete
Starting pass3
Pass3 complete
Starting pass4
Pass4 complete
Starting pass5
20 percent complete.Pass5 complete
gfs2_fsck complete
Environment
- Red Hat Enterprise Linux Server 6 (with the High Availability and Resilient Storage Add Ons)
- Red Hat Enterprise Linux Server 7 (with the High Availability and Resilient Storage Add Ons)
- A Global Filesystem 2(
GFS2) gfs2-utils-3.0.12.1-73.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.