[PLUG] trouble deleting files (Resolved)

M. Edward (Ed) Borasky znmeb at cesmail.net
Sat Dec 27 19:28:14 UTC 2008


Bill Barry wrote:
> 
> Filesystem corruption was indeed the problem. It took 9 hours to run,
> but among the things fsck did was to remove the problem files.
> 
> I tried deleting the files using the inode number
> 
> ls -i
> 9921738 rpl_ignore_table.test
> find . -inum 9921738 -exec rm {} \;
> find: `./rpl_ignore_table.test': Permission denied
> 
> which would be a good trick for files with crazy names, but this
> wasn't the problem.
> 
> Then I ran
> fsck.reiserfs  --rebuild-tree  /dev/sdb2
> 
> One of the log messages revealed that the problem was an entry
> pointing to nowhere.
> 
> rebuild_semantic_pass: The entry [9920235 9921738]
> ("rpl_ignore_table.test") in directory [12616279 12630835] points to
> nowhere - is removed
> 
> 9 hours later fsck was done, I remounted the filesystem and the
> troublesome files were gone.

Uh ... reiserfs? You were lucky it came back after the nine hours. It's
great when things work, but when they don't, it can be almost impossible
to recover.
-- 
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P), WOM

I've never met a happy clam. In fact, most of them were pretty steamed.



More information about the PLUG mailing list