Bugzilla – Bug 147746
reiserfs corruption
Last modified: 2006-10-24 18:35:08 UTC
# ls -la /bin/ls: NLD-10-i386-Beta3: Permission denied total 5 drwxr-xr-x 5 root root 184 Feb 1 14:33 . drwxr-xr-x 9 root root 288 Jan 20 14:21 .. drwxr-xr-x 3 root root 120 Feb 1 14:30 .wip dr-xr-xr-x 5 root root 936 Jan 26 08:50 NLD-10-i386-Beta2 -rw-r--r-- 1 root root 255 Jan 26 09:10 update.sh The NLD-10-i386-Beta3 should contain the the contents of the corresponding install CD. There was no system crash or anything, but suddenly even root can't see this directory. In between creating the troubled directory, and noticing the problem, I removed several GB of other data from this filesystem, and rsynced several GB from another machine to this filesystem. I don't see anything in syslog, and the problem remains after a reboot.
Ok, I'll need to know exactly which kernel you are running, and ask you to run reiserfsck --check and send me the log output.
Could you also please up your kernel log level to 8 (in /etc/sysconfig/kernel or dmesg -n 8)
Linux www 2.6.13-15.4-bigsmp #1 SMP Fri Nov 4 08:27:50 UTC 2005 i686 i686 i386 GNU/Linux reiserfsck 3.6.18 (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/ida/c0d0p6 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 Thu Feb 2 11:18:46 2006 ########### Filesystem seems mounted read-only. Skipping journal replay. Checking internal tree../ 1 (of 9)/ 97 (of 113)/ 96 (of 96)bad_path: The right delimiting key [15186 422473 0x0 SD (0)] of the node (22217103) must be greater than the last (10) element's key [1756finished Comparing bitmaps..finished Fatal corruptions were found, Semantic pass skipped 1 found corruptions can be fixed only when running with --rebuild-tree ########### reiserfsck finished at Thu Feb 2 11:25:29 2006 ###########
debugreiserfs -1 22217103 please
Created attachment 66240 [details] debugreiserfs -1 22217103
The data in the block looks ok. I wonder if it even corresponds to any part of the path of the file you can't access. What does ls -i tell you in the problem directory?
# ls -i /bin/ls: NLD-10-i386-Beta3: Permission denied 4 . 5 .. 15186 .wip 420479 NLD-10-i386-Beta2 420477 update.sh
Found another trouble spot: # ls /bin/ls: hda7: Permission denied . .. backup_jbw.sh boxen lap # ls -i /bin/ls: hda7: Permission denied 17566 . 2 .. 917696 backup_jbw.sh 917694 boxen 271473 lap
Hi Bart, this is an old one that I got assigned from Mason's queue. I don't suppose you have an image of this file system lying around? Otherwise, I'm afraid there's not much I can do for this one. I'm surprised the log was completely empty of any reiserfs error messages, since it should whine a bit before returning the error.
Closing due to inactivity.