[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fixing corrupted ext2fs partition
I got a next entry in my /var/log directory:
drwxr--r-- 2 nobody nobody 10975232 Sep 13 08:09 junkbuster
It is obvious that the entry is corrupted, since no self-respecting
directory wouldn't be 10M sized, but a 1024 entry instead. Now, I don't
care about the 10M or why doesn't fsck fix this problem, the main problem
is, that
updatedb and logrotate fail on this directory since they
can't read the contents. I need to remove the entry, but...
(and here goes the catch) without unmounting the partition.
I tried ext2ed, but I don't see the way to do it there,
if anyone knows any way to complete the task, you are welcome to try....
Thanks in advance...
FINiK
..Any errors in spelling, tact or fact are transmission errors :)
___________________________________________________________________________
_____ __ __ __ __ __ __
/ \ \/ \ \/ \/ / \ Dmitry Fink /Technion - Electrical Eng./
/ __/ \ \ \ _/ E-Mail: finik@usa.net IRC: FINiK
\ __/ / / / \ Tel: 052-933459 ICQ UIN: 1963588
\__/ \__/\__\__/\__/\__\__/ HomePage: http://finik.ml.org/
---------------------------------------------------------------------------
PGP: 1024/7773C0E9 73 8A 11 3C 1C 31 E7 DA 07 65 43 CA 4A 37 BC 02
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il