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).

Discussion

Enter your comment:

Subscribe to the RSS feed for Andy's Debian HOWTOs

Article from Andy's Debian HOWTOs (http://www.besy.co.uk/debian/debian)

 
debian/how_to_manage_and_recover_reiserfs_partitions.txt · Last modified: 2008/08/01 22:56 (external edit) · [Old revisions]
Recent changes RSS feed Powered by Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki