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

Tao Ma tao.ma at oracle.com
Tue Oct 7 00:28:21 PDT 2008


Hi,all
	Modification from V3 to V4:
1. Decrease orphan dir link count after delete the inodes.
2. Output some help message when replaying local alloc and truncate log.
3. Don't require y (orphan delete) in the non forced case.

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.

Regards,
Tao



More information about the Ocfs2-tools-devel mailing list