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.