Bug 459630 - GFS2: changes needed to gfs2-utils due to gfs2meta fs changes in bz 457798
Summary: GFS2: changes needed to gfs2-utils due to gfs2meta fs changes in bz 457798
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gfs2-utils
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Abhijith Das
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 457798
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-20 18:28 UTC by Robert Peterson
Modified: 2010-01-12 03:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 20:51:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch to mount '-o meta' insteaed of '-t gfs2meta' (1.16 KB, patch)
2008-08-28 14:50 UTC, Abhijith Das
no flags Details | Diff
One-liner to use gfs2 path instead of gfs2 device to mount metafs (460 bytes, patch)
2008-09-12 05:46 UTC, Abhijith Das
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0087 0 normal SHIPPED_LIVE gfs2-utils bug-fix update 2009-01-20 16:04:24 UTC

Description Robert Peterson 2008-08-20 18:28:21 UTC
Description of problem:
Bug #457798 changed the metadata file system from the metafs type
to having a new -o meta mount option.  Three of the user space GFS2
programs need to be changed to match the new value.  Those are:
mkfs.gfs2 (gfs2_jadd, gfs2_grow), gfs2_quota and gfs2_tool.
They all use the libgfs2 function find_gfs2_meta, which is what needs
to be changed.

Version-Release number of selected component (if applicable):
RHEL5.3

How reproducible:
Always

Steps to Reproduce:
1. gfs2_jadd ... /mnt/gfs2
2. gfs2_tool lockdump /mnt/gfs2
3. etc.
  
Actual results:
Will fail with the fix for bug 457798.

Expected results:
All of these tools should work perfectly.

Additional info:
This fix is co-dependent with bug #457798 and their respective
fixes should be shipped at the same time.  The kernel doesn't break
without this fix, but the GFS2 userland tools may not work properly.
Any fix done for this bugzilla will, however, require that fix in
the kernel.

Comment 2 Abhijith Das 2008-08-28 14:50:29 UTC
Created attachment 315223 [details]
patch to mount '-o meta' insteaed of '-t gfs2meta'

This patch makes the user tools now look for a gfs2 filesystem with -o meta mount option, instead of looking for a 'gfs2meta' filesystem. Also, when mounting, we mount '-t gfs2 -o meta' instead of '-t gfs2meta'

Comment 3 Abhijith Das 2008-09-12 05:46:04 UTC
Created attachment 316527 [details]
One-liner to use gfs2 path instead of gfs2 device to mount metafs

The changes to the gfs2meta component of gfs2 (through bz 457798) does not require any major changes to gfs2_utils except this one liner. We now use the gfs2 mount point rather than the device to mount the meta fs.

Checking in this patch to RHEL5, STABLE2.

Comment 6 errata-xmlrpc 2009-01-20 20:51:56 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-2009-0087.html


Note You need to log in before you can comment on or make changes to this bug.