Bug 636157
| Summary: | gfs2_convert doesn't resume after interrupted conversion | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Abhijith Das <adas> | ||||
| Component: | gfs2-utils | Assignee: | Abhijith Das <adas> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.6 | CC: | adrew, edamato, rpeterso, ssaha, swhiteho | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gfs2-utils-0.1.62-27.el5 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 637913 (view as bug list) | Environment: | |||||
| Last Closed: | 2011-01-13 23:21:36 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: | 637913 | ||||||
| Attachments: |
|
||||||
|
Description
Abhijith Das
2010-09-21 15:15:16 UTC
Created attachment 449970 [details]
Patch to not convert jindex, rindex inodes
This patch causes the inode conversion routine to skip over the jindex and rindex inodes. Without this patch, the jindex and rindex inodes are converted to gfs2 format and once converted, there's no way to go back to gfs1 for these two inodes were the convert to be interrupted somehow. In the eyes of the subsequent gfs2_convert run, these two inodes would be corrupt and gfs2_convert would bail out of the conversion.
Skipping conversion of these two inodes doesn't affect gfs2_convert as these two inodes are freed from disk towards the end of the conversion process. New jindex and rindex inodes are created for gfs2 separately in the master directory.
Note: This issue with reconversion failing occurs only when the jindex/rindex inodes are unstuffed. When stuffed, gfs1 and gfs2 inodes have a similar structure, so it doesn't matter if these inodes are converted or not, however with inode height > 0 the structures of gfs1 and gfs2 differ.
Checked in above patch to RHEL56 git branch Build 2783404 successful. Changing status to Modified. This fix is in gfs2-utils-0.1.62-27.el5. 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-0135.html |