Initial state of file system: inode bitmap 10001001 inodes [d a:0 r:2] [] [] [] [f a:4 r:1] [] [] [f a:2 r:3] data bitmap 10101000 data [(.,0) (..,0) (x,7) (c,7) (d,7) (m,4)] [] [u] [] [l] [] [] [] CORRUPTION::INODE 0 points to dead block 7 Final state of file system: inode bitmap 10001001 inodes [d a:7 r:2] [] [] [] [f a:4 r:1] [] [] [f a:2 r:3] data bitmap 10101000 data [(.,0) (..,0) (x,7) (c,7) (d,7) (m,4)] [] [u] [] [l] [] [] []
01234567 inode bitmap 10001001 0 1 2 3 4 5 6 7 inodes [d a:7 r:2] [] [] [] [f a:4 r:1] [] [] [f a:2 r:3] 01234567 data bitmap 10101000 0 1 2 3 4 5 6 7 data [(.,0) (..,0) (x,7) (c,7) (d,7) (m,4)] [] [u] [] [l] [] [] []
DATA BITMAP corrupt bit INODE BITMAP corrupt bit INODE refcnt wrong INODE orphan INODE points to dead block INODE dir entry refers to unallocated inode
INODE or bit number: