[Ocfs2-tools-devel] [PATCH 0/6] ocfs2-tools: Add slot recovery in fsck.ocfs2.

Tao Ma tao.ma at oracle.com
Tue Sep 16 01:05:53 PDT 2008


Hi all,
	This patch set enable slot recovery in fsck.ocfs2 so that we can use 
tunefs.ocfs2 to modify the volume after we run fsck.ocfs2 successfully. 
The whole process will work like this:
1. Replay journal for all slots.
2. Apply the truncate log and local alloc bits. Look for inconsistency.
    If any inconsistency, force a full fsck.
3. If non-force fsck, replay orphan dirs. If error, force a full fsck.
    If not, go to step 6.
4. If force fsck, fsck the entire fs.
5. Remove the entries in orphan dirs.
6. Reset the slot map and the journal dirty flags.



More information about the Ocfs2-tools-devel mailing list