Bug 885083
Summary: | Backport commit '63b3913dbc0bc7cdf8a63f3bdb0c8d7d605e9a40' and '6d75685e2b76f4099589ad33732cf59f279b5d65' from upstream e2fsprogs to RHEL6 e2fsprogs | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Vimal Kumar <vikumar> |
Component: | e2fsprogs | Assignee: | Eric Sandeen <esandeen> |
Status: | CLOSED ERRATA | QA Contact: | Eryu Guan <eguan> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | eguan, lnovich, schlichting, vikumar |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | e2fsprogs-1.41.12-15.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-21 22:43:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vimal Kumar
2012-12-07 13:23:17 UTC
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. According to bug 850803 comment 23, with these two patches, e2fsck -p should report corrupted orphan inode list and force a manual fsck. Test image is from bug 850803 Reproduced with e2fsprogs-1.41.12-14.el6, e2fsck -p reports clean [root@hp-dl388g8-03 bz885083-e2fsprogs-backport-commits]# rpm -q e2fsprogs e2fsprogs-1.41.12-14.el6.x86_64 [root@hp-dl388g8-03 bz885083-e2fsprogs-backport-commits]# cp 10-sda3.image test.img [root@hp-dl388g8-03 bz885083-e2fsprogs-backport-commits]# losetup /dev/loop0 test.img [root@hp-dl388g8-03 bz885083-e2fsprogs-backport-commits]# e2fsck -p /dev/loop0 /: recovering journal /: Clearing orphaned inode 2243137 (uid=27, gid=27, mode=0100600, size=0) /: Clearing orphaned inode 2242888 (uid=27, gid=27, mode=0100600, size=0) /: Clearing orphaned inode 2242810 (uid=27, gid=27, mode=0100600, size=0) /: Clearing orphaned inode 2242806 (uid=27, gid=27, mode=0100600, size=0) /: Clearing orphaned inode 2242805 (uid=27, gid=27, mode=0100600, size=0) /: clean, 562706/4404224 files, 3872808/4429056 blocks [root@hp-dl388g8-03 bz885083-e2fsprogs-backport-commits]# Verified with e2fsprogs-1.41.12-18.el6, e2fsck find the corrupted orphan inode list. [root@hp-dl388g8-03 bz885083-e2fsprogs-backport-commits]# rpm -q e2fsprogs e2fsprogs-1.41.12-18.el6.x86_64 [root@hp-dl388g8-03 bz885083-e2fsprogs-backport-commits]# cp 10-sda3.image test.img [root@hp-dl388g8-03 bz885083-e2fsprogs-backport-commits]# losetup `losetup -f` test.img [root@hp-dl388g8-03 bz885083-e2fsprogs-backport-commits]# losetup -a /dev/loop0: [fd00]:540787 (/root/bz885083-e2fsprogs-backport-commits/test.img) [root@hp-dl388g8-03 bz885083-e2fsprogs-backport-commits]# e2fsck -p /dev/loop0 /: recovering journal / contains a file system with errors, check forced. /: Deleted inode 2242805 has zero dtime. FIXED. /: Inodes that were part of a corrupted orphan linked list found. /: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options) Set to VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1689.html |