problem with corrupted filesystem
I had some folders left after failed emerge in /var/tmp/portage, so I tried to remove the folders in there and got the error "directory not empty" I was able to move the subfolder "locale" to my /root folder and then remove the directory with all other subdirectories in the /root folder I still wasn't able to remove "locale"
After fsck.reiser4 --fix /dev/sda3 problem is solved, here is the relevant output:
disi-laptop ~ # uname -a
Linux disi-laptop 2.6.33-zen1 #3 ZEN SMP Sat Mar 27 17:00:34 GMT 2010 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux
disi-laptop ~ # mkfs.reiser4 --version
mkfs.reiser4 1.0.7
Copyright (C) 2001-2005 by Hans Reiser, licensing governed by reiser4progs/COPYING.
disi-laptop ~ # ls
locale xorg.conf.new
disi-laptop ~ # ls -l
total 5
drwx------ 2 root root 4 Mar 27 15:35 locale
-rw-r--r-- 1 root root 3944 Mar 27 15:05 xorg.conf.new disi-laptop ~ # man ls
disi-laptop ~ # ls -li
total 5
509520 drwx------ 2 root root 4 Mar 27 15:35 locale
1584446 -rw-r--r-- 1 root root 3944 Mar 27 15:05 xorg.conf.new disi-laptop ~ # mv locale locale_moved
disi-laptop ~ # ls -li
total 5
509520 drwx------ 2 root root 4 Mar 29 16:58 locale_moved
1584446 -rw-r--r-- 1 root root 3944 Mar 27 15:05 xorg.conf.new disi-laptop ~ # rm -rf locale_moved/
rm: cannot remove `locale_moved': Directory not empty disi-laptop ~ # ls -lai locale_moved/
total 1
509520 drwx------ 2 root root 4 Mar 29 16:58 .
99103 drwx------ 3 root root 9 Mar 29 16:58 .. disi-laptop ~ # rmdir locale_moved/
rmdir: failed to remove `locale_moved/': Directory not empty -- 3 root root 9 Mar 29 16:58 ..
fsck_sda3.log:
FSCK: obj40_repair.c: 223: obj40_stat_unix_check: Node (411349), item (3), [7c641:6c6f63616c6500:7c650] (stat40): wrong bytes (264), Fixed to (100).
FSCK: obj40_repair.c: 350: obj40_stat_lw_check: Node (411349), item (3), [7c641:6c6f63616c6500:7c650] (stat40): wrong size (4), Fixed to (2).
disi-laptop ~ # lslocale_moved xorg.conf.new
disi-laptop ~ # ls -li
total 5
509520 drwx------ 2 root root 2 Mar 29 16:58 locale_moved
1584446 -rw-r--r-- 1 root root 3944 Mar 27 15:05 xorg.conf.new disi-laptop ~ # mv locale_moved locale
disi-laptop ~ # ls -li
total 5
509520 drwx------ 2 root root 2 Mar 29 17:20 locale
1584446 -rw-r--r-- 1 root root 3944 Mar 27 15:05 xorg.conf.new disi-laptop ~ # rm -r locale
disi-laptop ~ # ls -li
total 4
1584446 -rw-r--r-- 1 root root 3944 Mar 27 15:05 xorg.conf.new
Here is the related forum post: http://forums.gentoo.org/viewtopic-p-6223315.html#6223315
thanks,
Marcus
___________________________________________________________
WEB.DE DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://produkte.web.de/go/02/
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html