Fsck.reiserfs
Jump to navigation
Jump to search
Fsck.reiserfs check and repairs problems with your reiser file system. Such a problem can e.g. be a file like this:
-rwx-w-r-- 5013973 5013976 5013977 21534858652975574 Feb 28 1970 /mnt/sda1/root/archiv/akten/papierlos/studium/upol/upol0069.jpeg
Run the command like this:
fsck.reiserfs --fix-fixable
After doing a reiser file system check, it is good practise to see if all your rpm packages are still here. There can be inconsistencies between the rpm DB and what is stored in your file system:
rpm -qa | xargs rpm -ql | xargs ls 2>/fail
This lists all your rpm packages (rpm -qa), lists all its files (rpm -ql), lists those (ls) and in case of an error, writes the missing files to /fail. You can then use
rpm -qf filename
to find out which rpm package is inconsistent and needs to be reinstalled.