Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 659123

Summary: GFS2: gfs2_grow fails on a full file system
Product: Red Hat Enterprise Linux 6 Reporter: Ben Marzinski <bmarzins>
Component: clusterAssignee: Ben Marzinski <bmarzins>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: high    
Version: 6.1CC: adas, casmith, ccaulfie, ccoffey, cluster-maint, fdinitto, iannis, lhh, rpeterso, rwheeler, sbradley, swhiteho, tao, teigland
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 490649
: 707091 (view as bug list) Environment:
Last Closed: 2011-05-19 12:54:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 626561, 659137    
Bug Blocks: 707091    
Attachments:
Description Flags
Patch to allow gfs2_grow to use fallocate to grow full filesystems. none

Comment 2 Ben Marzinski 2010-12-03 18:45:39 UTC
mkfs.gfs2 and gfs2_grow now reserve enough space for one more rindex entry in the rindex file, but keep the file size the same. gfs2_grow does this through the new fallocate gfs2 function call. mkfs.gfs2 can just do this by hand, since it's working directly on the block device.

Comment 4 Nate Straz 2011-03-30 20:20:17 UTC
Ran mkfs, filled the file system, ran growfs and filled the file system several times more and was able to grow the file system every time.  Marking verified against gfs2-utils-3.0.12-40.el6.

Comment 6 errata-xmlrpc 2011-05-19 12:54:31 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0537.html

Comment 7 Ben Marzinski 2011-05-19 14:07:49 UTC
Created attachment 499850 [details]
Patch to allow gfs2_grow to use fallocate to grow full filesystems.

Comment 8 Fabio Massimo Di Nitto 2011-05-23 14:15:28 UTC
FYI the patch has been dropped from git RHEL6 branch because it was committed in GIT prior 6.1 branching and it´s not in 6.1 distcvs.