Superblock: Sanity Check:
- Check the system size > the number of blocks that have been allocated.
- We want to find a suspected superblock.
Ensure inodes in use ar emorked in inode bitmaps. Update the inode bitmap if needed.
Inode state: check inode fields for possible corruption
Like check a vaild mode field.
Duplicates: check if two different inodes refer to same block.
Clear One if obviously bad, or give each inode its own copy of block
Bad blocks: bad pointers (like outside of valid range)
Directory checks: Integrity of directory structure
Such as, . and .. must be the first two entries