Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 452743

Summary: GFS2: gfs2_fsck fails: Unable to read in jindex inode.
Product: Red Hat Enterprise Linux 5 Reporter: Robert Peterson <rpeterso>
Component: gfs2-utilsAssignee: Robert Peterson <rpeterso>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.3CC: adas, bmarzins, edamato, swhiteho
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 20:51:49 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:    
Bug Blocks: 453004    
Attachments:
Description Flags
patch to fix the problem none

Description Robert Peterson 2008-06-24 19:02:17 UTC
Description of problem:
If a GFS2 file system is created with non-4K block size, gfs2_fsck
won't run on it. 

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

How reproducible:
Always

Steps to Reproduce:
1. mkfs.gfs2 -O -b 1024 -t "bobs_exxon:exxon_lv" -j3 -p lock_dlm
/dev/exxon_vg/exxon_lv
2. gfs2_fsck /dev/exxon_vg/exxon_lv 
  
Actual results:
[root@exxon-01 /usr/src/redhat/BUILD]# gfs2_fsck /dev/exxon_vg/exxon_lv 
Initializing fsck
Recovering journals (this may take a while)Journal inode not found.
Unable to read in jindex inode.

Expected results:
gfs2_fsck should run normally.

Additional info:

Comment 1 RHEL Program Management 2008-06-24 19:33:25 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 2 Robert Peterson 2008-06-24 20:52:47 UTC
Created attachment 310183 [details]
patch to fix the problem

Comment 3 Robert Peterson 2008-06-24 21:01:06 UTC
This patch has been tested on system exxon-01.  I also made sure it
would not adversely affect any of the other callers of function read_sb,
namely, "gfs2_edit savemeta" and gfs2_grow.

The patch was pushed to the master, STABLE2 and RHEL5 branches of the
cluster git tree for inclusion into RHEL5.3.  Changing status to modified.


Comment 9 errata-xmlrpc 2009-01-20 20:51:49 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