debian-fernando:/home/fernando# fsck.reiserfs /dev/hda1 --rebuild-sb reiserfsck 3.6.19 (2003 www.namesys.com) ************************************************************* ** If you are using the latest reiserfsprogs and it fails ** ** please email bug reports to reiserfs-list@namesys.com, ** ** providing as much information as possible -- your ** ** hardware, kernel, patches, settings, all reiserfsck ** ** messages (including version), the reiserfsck logfile, ** ** check the syslog file for any related information. ** ** If you would like advice on using this program, support ** ** is available for $25 at www.namesys.com/support.html. ** ************************************************************* Will check superblock and rebuild it if needed Will put log info to 'stdout' Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes Did you use resizer(y/n)[n]: n rebuild-sb: wrong block count occured (12799776), fixed (11090864) rebuild-sb: wrong bitmap number occured (391), fixed (339) Reiserfs super block in block 16 on 0x301 of format 3.6 with standard journal Count of blocks on the device: 11090864 Number of bitmaps: 339 Blocksize: 4096 Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 9310102 Root block: 10551315 Filesystem is NOT clean Tree height: 4 Hash function used to sort names: "r5" Objectid map size 36, max 972 Journal parameters: Device [0x0] Magic [0x6afabf6d] Size 8193 blocks (including 1 for journal header) (first block 18) Max transaction length 1024 blocks Max batch size 900 blocks Max commit age 30 Blocks reserved by journal: 0 Fs state field: 0x1: some corruptions exist. sb_version: 2 inode generation number: 215 UUID: dda1f784-3643-49d5-b1f1-7bd0d2abbeae LABEL: Set flags in SB: ATTRIBUTES CLEAN Is this ok ? (y/n)[n]: y The fs may still be unconsistent. Run reiserfsck --check. debian-fernando:/home/fernando# reiserfsck --check /dev/hda1 reiserfsck 3.6.19 (2003 www.namesys.com) ************************************************************* ** If you are using the latest reiserfsprogs and it fails ** ** please email bug reports to reiserfs-list@namesys.com, ** ** providing as much information as possible -- your ** ** hardware, kernel, patches, settings, all reiserfsck ** ** messages (including version), the reiserfsck logfile, ** ** check the syslog file for any related information. ** ** If you would like advice on using this program, support ** ** is available for $25 at www.namesys.com/support.html. ** ************************************************************* Will read-only check consistency of the filesystem on /dev/hda1 Will put log info to 'stdout' Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes ########### reiserfsck --check started at Sun Aug 6 16:10:04 2006 ########### Replaying journal.. Trans replayed: mountid 10, transid 704, desc 7475, len 1, commit 7477, next trans offset 7460 Trans replayed: mountid 10, transid 705, desc 7478, len 1, commit 7480, next trans offset 7463 Trans replayed: mountid 10, transid 706, desc 7481, len 1, commit 7483, next trans offset 7466 Trans replayed: mountid 10, transid 707, desc 7484, len 1, commit 7486, next trans offset 7469 Trans replayed: mountid 10, transid 708, desc 7487, len 1, commit 7489, next trans offset 7472 Trans replayed: mountid 10, transid 709, desc 7490, len 1, commit 7492, next trans offset 7475 Reiserfs journal '/dev/hda1' in blocks [18..8211]: 6 transactions replayed Zero bit found in on-disk bitmap after the last valid bit. Checking internal tree..bad_internal: vpf-10330: block 10551315, item 4: The internal item points to the not legal block (11304974) the problem in the internal node occured (10551315), whole subtree is skipped finished Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs. Bad nodes were found, Semantic pass skipped 1 found corruptions can be fixed only when running with --rebuild-tree ########### reiserfsck finished at Sun Aug 6 16:10:08 2006 ########### debian-fernando:/home/fernando#