With a top-of-tree master f2fs-tools.

232ce7671ea505dfbb9f0ca7be74516ca9687a7b tries to fix the wrong segment types.

Running fsck more than twice shows the same errors...

# fsck.f2fs -f /dev/block/platform/sdhci-tegra.3/by-name/UDA

...
[FIX] (f2fs_set_main_bitmap:  36)  --> Wrong segment type [0x15e9] 4 -> 3
[FIX] (f2fs_set_main_bitmap:  36)  --> Wrong segment type [0x16d] 1 -> 0
[FIX] (f2fs_set_main_bitmap:  36)  --> Wrong segment type [0x15e9] 3 -> 4
[FIX] (f2fs_set_main_bitmap:  29)  --> Wrong segment type [0x16d] 0 -> 1

[FSCK] Unreachable nat entries                        [Ok..] [0x0]
[FSCK] SIT valid block bitmap checking                [Ok..]
[FSCK] Hard link checking for regular file            [Ok..] [0x0]
[FSCK] valid_block_count matching with CP             [Ok..] [0x2a1d4]
[FSCK] valid_node_count matcing with CP (de lookup)   [Ok..] [0x5cf]
[FSCK] valid_node_count matcing with CP (nat lookup)  [Ok..] [0x5cf]
[FSCK] valid_inode_count matched with CP              [Ok..] [0x298]
[FSCK] free segment_count matched with CP             [Ok..] [0x145b]
[FSCK] next block offset is free                      [Ok..]
[FSCK] other corrupted bugs                           [Fail]

Done.



When "other corrupted bugs" is displayed, it sets config.bug_on and
seems to try to write back the fixes. Is there some other change not
yet available to do it?

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to