Bug 244163 - Incorrect output of gfs2_tool sb <dev> all
Summary: Incorrect output of gfs2_tool sb <dev> all
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gfs2-utils
Version: 5.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Robert Peterson
QA Contact: Dean Jansa
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-14 09:23 UTC by Steve Whitehouse
Modified: 2010-01-12 03:38 UTC (History)
0 users

Fixed In Version: RHBA-2007-0579
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-07 18:05:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch to fix the problem (2.06 KB, patch)
2007-06-18 21:53 UTC, Robert Peterson
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0579 0 normal SHIPPED_LIVE gfs2-utils bug fix update 2007-11-08 14:13:05 UTC

Description Steve Whitehouse 2007-06-14 09:23:29 UTC
The lockproto and locktable are not printed:

[root@et-virt05 ~]# gfs2_tool sb /dev/vroots/vroots_lv all
  mh_magic:0x00000000
  mh_type:4292201
  mh_format:4292201
  sb_fs_format:4292201
  sb_multihost_format:4292201
  sb_bsize:4292201
  sb_bsize_shift:4292201
  no_formal_ino:4292142
  no_addr:4292142
  no_formal_ino:4292142
  no_addr:4292142
  sb_lockproto:0x%x
  sb_locktable:0x%x

gfs2_edit confirms that the lockproto is lock_nolock and the lock_table is
blank. The blurb from the package is:

[root@et-virt05 ~]# rpm -qi gfs2-utils
Name        : gfs2-utils                   Relocations: (not relocatable)
Version     : 0.1.25                            Vendor: Red Hat, Inc.
Release     : 1.el5                         Build Date: Tue 16 Jan 2007 06:30:02
PM EST
Install Date: Fri 23 Mar 2007 05:19:48 PM EDT      Build Host:
hs20-bc1-7.build.redhat.com
Group       : System Environment/Kernel     Source RPM:
gfs2-utils-0.1.25-1.el5.src.rpm
Size        : 658015                           License: GPL
Signature   : DSA/SHA1, Wed 17 Jan 2007 02:23:37 PM EST, Key ID 5326810137017186
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://sources.redhat.com/cluster/
Summary     : Utilities for managing the global filesystem (GFS)
Description :
The gfs2-utils package contains a number of utilities for creating,
checking, modifying, and correcting any inconsistencies in GFS
filesystems.

Comment 1 Robert Peterson 2007-06-18 21:53:29 UTC
Created attachment 157335 [details]
patch to fix the problem

Tested on system trin-10 and committed to cvs at HEAD and RHEL5 
branches.

Comment 2 RHEL Program Management 2007-06-18 22:03:49 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 3 Robert Peterson 2007-06-18 22:45:08 UTC
Patch tested and committed to cvs.  Setting status to modified.


Comment 6 errata-xmlrpc 2007-11-07 18:05:00 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 the 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-2007-0579.html



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