Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Corrupted filesystem. Unable to delete files [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Thu Oct 18, 2007 9:21 am    Post subject: Corrupted filesystem. Unable to delete files [SOLVED] Reply with quote

Hi,

I have a reiserfs filesystem (v3.6.19) and I have the following files that have crept into the FS that I am unable to delete:

Code:
# ls -al
drwxrwxrwt 17 root root  776 Oct 18 10:18 ..
??????????  ? ?    ?       ?            ? CFLAGS
??????????  ? ?    ?       ?            ? CHOST
??????????  ? ?    ?       ?            ? CONTENTS
??????????  ? ?    ?       ?            ? COUNTER
??????????  ? ?    ?       ?            ? CXXFLAGS
??????????  ? ?    ?       ?            ? DEPEND
??????????  ? ?    ?       ?            ? DESCRIPTION
??????????  ? ?    ?       ?            ? EAPI
??????????  ? ?    ?       ?            ? FEATURES
??????????  ? ?    ?       ?            ? HOMEPAGE
??????????  ? ?    ?       ?            ? INHERITED
??????????  ? ?    ?       ?            ? IUSE
??????????  ? ?    ?       ?            ? KEYWORDS
??????????  ? ?    ?       ?            ? LICENSE
??????????  ? ?    ?       ?            ? NEEDED
??????????  ? ?    ?       ?            ? PDEPEND
??????????  ? ?    ?       ?            ? PF
??????????  ? ?    ?       ?            ? RDEPEND
??????????  ? ?    ?       ?            ? SLOT
??????????  ? ?    ?       ?            ? SRC_URI
??????????  ? ?    ?       ?            ? USE


Has anyone seen this before??


Last edited by richard.scott on Tue Oct 23, 2007 2:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Thu Oct 18, 2007 10:45 am    Post subject: Reply with quote

I've had similar problems before. Usually, running "reiserfsck --fix-fixable" will take care of it but you may have to also use the "--rebuild-tree" option. If that's the case, reiserfsck's output will tell you that you need to do that.

Depending on which partition the files are on, you may have to boot from a CD to do it since the partition must not be mounted.
_________________
Ask Questions the Smart Way - by ESR
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Thu Oct 18, 2007 10:57 am    Post subject: Reply with quote

ronmon wrote:
I've had similar problems before. Usually, running "reiserfsck --fix-fixable" will take care of it but you may have to also use the "--rebuild-tree" option. If that's the case, reiserfsck's output will tell you that you need to do that.

Depending on which partition the files are on, you may have to boot from a CD to do it since the partition must not be mounted.


Thanks for the info. I'm sad to say that the server is a co-lo so won't be bootable from CD with out a site visit!

EDIT: a site visit and booting from a cdrom to run reiserfsck did the trick! 8)

Just a shame reiser is crap with lots of small files :cry:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum