Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2012:0269 - Bug Fix Advisory
Issued:
2012-02-20
Updated:
2012-02-20

RHBA-2012:0269 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

gfs2-utils bug fix and enhancement update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated gfs2-utils package that fixes various bugs and adds one enhancement
is now available for Red Hat Enterprise Linux 5.

Description

The gfs2-utils package provides the user-space utilities necessary to mount,
create, maintain and test GFS2 file systems.

This update fixes the following bugs:

  • To expand a GFS2 file system, additional resource groups must be added to

manage new space. The gfs2_grow utility ensures this by writing to the rindex
file. Previously, if there was not enough free space in the file system to write
out new resource group entries, gfs2_grow was unable to update the rindex file.
As a consequence, gfs2_grow was unable to expand the file system and failed with
the following error message:

Error writing new rindex entries;aborted.

With this update, gfs2_grow writes one resource group at first, and then the
rest instead of attempting to write all the new resource groups at once. Now,
gfs2_grow successfully expands the file system in the described scenario.
(BZ#711451)

  • Previously, the libgfs2 library used the obsolete MAJOR() and MINOR() macros

to handle device numbers. These macros did not support device numbers greater
than 255, and could cause error messages to be displayed when using gfs2-utils.
The macros have been replaced by the major() and minor() functions, and
gfs2-utils now works properly with device numbers greater than 255. (BZ#714739)

  • Previously, the "mkfs.gfs2" command worked only on block devices. Using the

command on sparse files failed with an error message. An upstream patch has been
applied to address this issue, and the mkfs.gfs2 utility now also recognizes
regular files. (BZ#720935)

  • Previously, the gfs2_grow utility failed to expand a GFS file system if the

file system contained only one resource group. This was due to old code based on
GFS1 (which had different fields) that calculated distances between resource
groups and did not work with only one resource group. This update adds the
rgrp_size() function in libgfs2, which calculates the size of the resource group
instead of determining its distance from the previous resource group. The file
system with only one resource group can now be expanded successfully.
(BZ#730091)

  • Due to a bug in libgfs2, sentinel directory entries were counted as if they

were real entries. As a consequence, the mkfs.gfs2 utility created file systems
which did not pass the fsck check when a large number of journal metadata blocks
was required (for example, a file system with block size of 512, and 9 or more
journals). With this update, incrementing the count of the directory entry is
now avoided when dealing with sentinel entries. GFS2 file systems created with
large numbers of journal metadata blocks now pass the fsck check cleanly.
(BZ#745126)

This update also adds the following enhancement:

  • Prior to this update, when executing the "gfs2_edit" command with the

"savemeta" or "restoremeta" options specified, the command produced uncompressed
files that were very large in size. This update allows gfs2_edit to compress
metadata while writing by using the "savemeta" option, and also read a
compressed metadata file by using the "restoremeta" option. (BZ#702296)

All users of gfs2-utils are advised to upgrade to this updated package, which
fixes these bugs and adds this enhancement.

Solution

Before applying this update, make sure all previously-released errata relevant
to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 5 x86_64
  • Red Hat Enterprise Linux Server 5 ia64
  • Red Hat Enterprise Linux Server 5 i386
  • Red Hat Enterprise Linux Workstation 5 x86_64
  • Red Hat Enterprise Linux Workstation 5 i386
  • Red Hat Enterprise Linux Desktop 5 x86_64
  • Red Hat Enterprise Linux Desktop 5 i386
  • Red Hat Enterprise Linux for Power, big endian 5 ppc
  • Red Hat Enterprise Linux Server from RHUI 5 x86_64
  • Red Hat Enterprise Linux Server from RHUI 5 i386

Fixes

  • BZ - 711451 - GFS2: gfs2_grow fails on a full file system with stuffed rindex file
  • BZ - 720935 - GFS2: mkfs.gfs2 doesn't work on regular files

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 5

SRPM
gfs2-utils-0.1.62-34.el5.src.rpm SHA-256: 1d4cd53612c03a5e035e3a2f9caf508d4ad38eb2fe0a8628096966319378c61a
x86_64
gfs2-utils-0.1.62-34.el5.x86_64.rpm SHA-256: 0adcf6250085d546b78d1a57d2a25d8e4d452906ad953681dae3f39c7ea33f3b
ia64
gfs2-utils-0.1.62-34.el5.ia64.rpm SHA-256: ccb3445338da45110404f6621be60cfafa8333b0bc69d69dd5a0d0ddeebad30b
i386
gfs2-utils-0.1.62-34.el5.i386.rpm SHA-256: 5ff0af4412db5c0f240ec368ba2d7483904f8871a6937109720081a1761c3255

Red Hat Enterprise Linux Workstation 5

SRPM
gfs2-utils-0.1.62-34.el5.src.rpm SHA-256: 1d4cd53612c03a5e035e3a2f9caf508d4ad38eb2fe0a8628096966319378c61a
x86_64
gfs2-utils-0.1.62-34.el5.x86_64.rpm SHA-256: 0adcf6250085d546b78d1a57d2a25d8e4d452906ad953681dae3f39c7ea33f3b
i386
gfs2-utils-0.1.62-34.el5.i386.rpm SHA-256: 5ff0af4412db5c0f240ec368ba2d7483904f8871a6937109720081a1761c3255

Red Hat Enterprise Linux Desktop 5

SRPM
gfs2-utils-0.1.62-34.el5.src.rpm SHA-256: 1d4cd53612c03a5e035e3a2f9caf508d4ad38eb2fe0a8628096966319378c61a
x86_64
gfs2-utils-0.1.62-34.el5.x86_64.rpm SHA-256: 0adcf6250085d546b78d1a57d2a25d8e4d452906ad953681dae3f39c7ea33f3b
i386
gfs2-utils-0.1.62-34.el5.i386.rpm SHA-256: 5ff0af4412db5c0f240ec368ba2d7483904f8871a6937109720081a1761c3255

Red Hat Enterprise Linux for Power, big endian 5

SRPM
gfs2-utils-0.1.62-34.el5.src.rpm SHA-256: 1d4cd53612c03a5e035e3a2f9caf508d4ad38eb2fe0a8628096966319378c61a
ppc
gfs2-utils-0.1.62-34.el5.ppc.rpm SHA-256: eece10f36b51e6c1bd730ca0ae48a35e60e4cd91386185572542b77b2ae36641

Red Hat Enterprise Linux Server from RHUI 5

SRPM
gfs2-utils-0.1.62-34.el5.src.rpm SHA-256: 1d4cd53612c03a5e035e3a2f9caf508d4ad38eb2fe0a8628096966319378c61a
x86_64
gfs2-utils-0.1.62-34.el5.x86_64.rpm SHA-256: 0adcf6250085d546b78d1a57d2a25d8e4d452906ad953681dae3f39c7ea33f3b
i386
gfs2-utils-0.1.62-34.el5.i386.rpm SHA-256: 5ff0af4412db5c0f240ec368ba2d7483904f8871a6937109720081a1761c3255

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2026 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility