Simple guide to marking bad blocks on a ReiserFS partition:
- Unmount the partition (if it is mounted).
- Run badblocks, capturing it's output (in this example I am using the partition/dev/hda4 (this can take a VERY long time):
- badblocks -b 4096 -p 3 -n -o /etc/badblocks_part_hda4 /dev/hda4
- reiserfsck --rebuild-tree --logfile /etc/badblocks_part_hda4_log --badblocks /etc/badblocks_part_hda4 /dev/hda4
You should now have a safely usable partition again! This works exceedingly well!