public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Kenworthy <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] "deleted inode referenced"
Date: Sun, 08 Nov 2009 10:46:50 +0800	[thread overview]
Message-ID: <1257648410.12847.68.camel@rattus> (raw)
In-Reply-To: <20091107170519.GC4713@ca.inter.net>

On Sat, 2009-11-07 at 12:05 -0500, Philip Webb wrote:
> In the course of trying to get X to work on my ASUS 1005HA netbook,
> I had to power the machine off several times.  In the course of this,
> some damage seems to have occurred to the file system.
> There are files in  /var  /tmp  which I can't remove:
> the msg is "EXT2-fs error: ext2_lookup: deleted inode referenced: 16388".
> 
> I got round the problem by creating new dirs, copying everything else
> & renaming the dirs, but that leaves me with  /bad1 , which I can't remove
> as it contains a reference to an inode which no longer exists.
> NB this is not the more common problem of a bad file name,
> which cb dealt with simply by removing the inode (which still exists).
> 
> Can anyone help ?
> 
> BTW is Ext2 the best fs for this machine ?  Might Ext3 or Ext4 be better ?
> -- I use Reiserfs on my desktop machines.
> 


Have you tried fsk on it? - "man e2fsck"

The last question is a bit of a "how long is a piece of string"
question.

My personal experience is ext2 is only for those occasions you dont
value the data at all :)

ext3 isnt much better unless you use "data=journal" to get some basic
protection.

But instead of fiddling with such (deleted disparaging comment) file
systems, use reiserfs though this may need a complete reinstall .
Updates are still occuring to the reiserfs code in the kernel, so
reiserfs is not abandoned by any means.

ext4, reiserfs4, btfs and the like are too new for me, though I like the
look of btfs.

I have read some interesting articles in the past about the ext
filesystem devs and their inside track on rieserfs in the kernel and the
war of words that surrounds it.  My personal experience with ext2/3
supports the view that the ext filesystems didn't fairly win the
argument based on performance and data protection.  Enough said.

Unfortunately, filesystems are a very complex and emotive subject with
no one choice fits all solution.  My suggestion is you have lost data
and have problems with what you are using ... time to move on, try ext3
(with "data=journal") next - because you can fix ext2 with e2fsck
(though probably lose some data in the process, but ...), convert to
ext3 then mount with "data=journal" without having to reinstall.  Google
for the commands needed ... worked for me.

Have fun :)
BillK





  parent reply	other threads:[~2009-11-08  2:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-07 17:05 [gentoo-user] "deleted inode referenced" Philip Webb
2009-11-08  0:26 ` Stroller
2009-11-08  2:46 ` William Kenworthy [this message]
2009-11-08  6:35   ` Alan McKinnon
2009-11-08 10:25     ` Philip Webb
2009-11-08 15:27       ` Alan McKinnon
2009-11-08 12:14     ` pk
2009-11-08 15:12   ` [gentoo-user] "deleted inode referenced" [SOLVED] Philip Webb
2009-11-08 15:58     ` Dale
2009-11-08 10:49 ` [gentoo-user] "deleted inode referenced" daid kahl

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=1257648410.12847.68.camel@rattus \
    --to=billk@iinet.net.au \
    --cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox