From: Marcus Becker <Becker_Marcus1@web.de>
To: reiserfs-devel@vger.kernel.org
Subject: problem with corrupted filesystem
Date: Mon, 29 Mar 2010 18:32:32 +0200 (CEST) [thread overview]
Message-ID: <20393773.244349.1269880352409.JavaMail.fmail@mwmweb061> (raw)
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 ~ # ls
locale_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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2010-03-29 16:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-29 16:32 Marcus Becker [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-03-30 8:59 problem with corrupted filesystem Marcus Becker
2010-03-30 10:24 ` Edward Shishkin
2010-03-30 16:06 ` Marcus Becker
2010-03-30 16:50 ` Edward Shishkin
2010-03-30 17:47 ` Marcus Becker
2010-03-30 20:13 ` Marcus Becker
2010-03-30 21:07 ` Edward Shishkin
2010-03-30 21:24 ` Marcus Becker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20393773.244349.1269880352409.JavaMail.fmail@mwmweb061 \
--to=becker_marcus1@web.de \
--cc=reiserfs-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.