How to manage ResierFS file-systems

To check a ReiserFS partition (but not change anything):

reiserfsck --check --logfile check.log /dev/mapper/lvmhome/home

If fatal errors were found…

reiserfsck --rebuild-tree --logfile rebuild.log /dev/mapper/lvmhome/home

Then check again…

reiserfsck --check --logfile check2.log /dev/mapper/lvmhome/home

In the above examples we're fixing an LVM2 partition at /dev/mapper/lvmhome/home, but the commanda are the same for physical partitions (example: /dev/sda1), raid partitions (/dev/md0) and dm-crypt partitions (/dev/mapper/crypthome).