[Ocfs2-tools-devel] [PATCH 0/9] fsck.ocfs2: Fix multiply-claimed clusters

Joel Becker joel.becker at oracle.com
Thu Jul 30 12:24:58 PDT 2009


fsck.ocfs2 only prints a warning when it discovers more than one object
points to the same cluster.  We're fortunate that we don't have this
happen often, as we currently have no way to fix it.

This series implements correction of multiply-claimed clusters.  The
correction is done in passes 1B, 1C, and 1D, which are only run if
pass 1 discovers multiply-claimed clusters.  The scheme is based on
that of e2fsck, though the implementation is different.

The user has two options for correcting the problem.  They can clone
the offending inodes, copying their data to new clusters.  The new
clusters are then attached to the inodes, so the inodes do not move.
The multiply-claimed clusters thus eventually end up with one or zero
claims.  The other alternative is to remove the offending inode.  This
also releases the multiple claims.  If an inode is deleted, the user
will be prompted in pass 2 to remove any directory entries pointing to
it.

This series is also available in ocfs2.git.

[View]
http://oss.oracle.com/git/?p=ocfs2-tools.git;a=shortlog;h=dups
[Pull]
git://oss.oracle.com/git/ocfs2-tools.git dups

Please review.

Joel





More information about the Ocfs2-tools-devel mailing list