RHBA-2015:0428

Type: Bug fix
Severity: None
Published: 2015-03-05
Red Hat Enterprise Linux 7

The gfs2-utils packages contain utilities for creating, checking, modifying, and correcting any inconsistencies in GFS2 file systems. The gfs2-utils packages have been upgraded to upstream version 3.1.7, which provides a number of bug fixes and enhancements over the previous version including: - The fsck.gfs2 utility now issues read-ahead requests when scanning bitmaps for inodes and reading files. The fsck.gfs2 performance has been improved by reading on-disk data into memory before it is used. - The gfs2_edit utility now prints journal revoke continuation records as part of its journal printing function, which provides more data for debugging. - The mkfs.gfs2 utility now allocates and writes resource groups and journal blocks in-order, reducing file system creation time. When the journal size is larger than the resource group size, the initial resource groups are sized to accommodate contiguous journals. - The fsck.gfs2 utility did not adequately check the journal file contents before replaying them. If a file system had a corrupted journal, replaying the journal could cause file system damage. This update modified fsck.gfs2 to validate the entire journal before replaying it. The corrupt journal is now rebuilt. - This update also includes timing and logging instrumentation in order to help debug and monitor performance changes in fsck.gfs2. Handling of journal indirect block corruption has also been improved. (BZ#1112342, BZ#1038312, BZ#1107238, BZ#114616, BZ#1075135) This update also fixes the following bugs: * The libgfs2 library used the same gfs2_sb structure for both gfs1 and gfs2 file systems. Certain fields were omitted, and libgfs2 did not properly update the modified superblock on a gfs1 file system. The gfs2_convert command therefore terminated unexpectedly with a segmentation fault. The aforementioned values are no longer omitted, thus preventing the segmentation fault. Additionally, gfs2_convert attempts to fix erroneous values for these fields by calculating the correct values where possible and using these corrected values instead. (BZ#1079507) * The gfs2_grow utility made assumptions about the existing resource group size which were no longer valid after recent mkfs.gfs2 changes. The utility could create resource groups which were too small and unaligned, which negatively impacted file system efficiency. With this update, gfs2_grow was modified to use the new resource group placement and alignment strategy, thus fixing this bug. (BZ#1017381) * The fsck.gfs2 utility did not take days into consideration when reporting the time taken for each pass to complete. In cases where large file systems caused fsck.gfs2 to run longer than a day, fsck.gfs2 reported shorter pass durations than the time really taken. The pass duration reporting code in fsck.gfs2 has been updated to take durations over 24 hours into account, and fsck.gfs2 now reports the pass durations correctly. (BZ#1154786) * The default resource group size was set to the maximum in the mkfs.gfs2 utility, which could have affected the file system performance. The default resource group size has been set to the original value, thus preventing the performance problems. (BZ#1162817) * A bug in the gfs2_convert utility could introduce bogus values for the di_goal_meta field of the ondisk inode. This affected block allocation in gfs2, which in certain versions caused a EBADSLT error on affected inodes. With this update, gfs2_convert now fixes these incorrect values. Also, fsck.gfs2 is now able identify and fix incorrect inode goal values. (BZ#1178604) Users of gfs2-utils are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:03:15.203Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-27T23:03:15.203Z UTC. Last updated 2026-10-07T09:07:25.305Z UTC.

Upstream Advisory

Affected Packages

  • gfs2-utils 3.1.7-6.el7

Interested in being alerted when there are new versions of gfs2-utils? Set up an alert.
RHBA-2015:0428: gfs2-utils bug fix and enhancement update | Package Alert