mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sylvain Rochet <gradator@gradator.net>
To: Jan Kara <jack@suse.cz>
Cc: linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org,
	linux-nfs@vger.kernel.org
Subject: Re: 2.6.28.9: EXT3/NFS inodes corruption
Date: Tue, 4 Aug 2009 13:02:18 +0200	[thread overview]
Message-ID: <20090804110217.GB4016@gradator.net> (raw)
In-Reply-To: <20090729125812.GL19209@duck.suse.cz>

[-- Attachment #1: Type: text/plain, Size: 1127 bytes --]

Hi,


On Wed, Jul 29, 2009 at 02:58:12PM +0200, Jan Kara wrote:
> On Tue 28-07-09 18:41:42, Sylvain Rochet wrote:
> > 
> > Lets move out the corrupted directory ;)
> > 
> > root@bazooka:/data/web/ed/90/48/walotux.walon.org/htdocs/tmp/cache/e# rm -- * .ok 
> > rm: cannot remove `spip%3Farticle19.f8740dca': Input/output error
> > root@bazooka:/data/web/ed/90/48/walotux.walon.org/htdocs/tmp/cache/e# cd ..
> > root@bazooka:/data/web/ed/90/48/walotux.walon.org/htdocs/tmp/cache# mv e/ /data/lost+found/wooops
> 
> Actually, leaving that file in the filesystem can potentially lead to
> strange effects because eventually the inode "spip%3Farticle19.f8740dca"
> points to gets reallocated and then you can get e.g. a hardlinked
> directory. On the other hand having it lost+found should be safe enough.

This happened a few times in the past, we saw corrupted dentries reappearing with 
a new file. New files with reference count set to 1 (but obviously should be 2 in 
this case). So the rule is "do not delete corrupted dentries anyway, keep them 
safe in lost+found and do not touch it" ;).


Sylvain

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2009-08-04 11:02 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-20 16:20 Sylvain Rochet
2009-07-16 17:27 ` Jan Kara
2009-07-25 15:17   ` Sylvain Rochet
2009-07-27 15:42     ` Jan Kara
2009-07-28 11:27       ` Sylvain Rochet
2009-07-28 13:52         ` Jan Kara
2009-07-28 16:41           ` Sylvain Rochet
2009-07-28 21:12             ` J. Bruce Fields
2009-08-04 10:50               ` Sylvain Rochet
2009-07-29 12:58             ` Jan Kara
2009-08-04 11:02               ` Sylvain Rochet [this message]
2009-08-03 22:29             ` Jan Kara
2009-08-04 11:15               ` Sylvain Rochet
2009-08-04 22:56                 ` Jan Kara
2009-08-06 13:15                   ` Sylvain Rochet
2009-08-06 17:05                     ` J. Bruce Fields
2009-08-12 22:34                     ` Jan Kara
2009-08-20 17:19                       ` Sylvain Rochet
2009-08-21  0:00                         ` Simon Kirby
2009-08-21 10:51                           ` Sylvain Rochet
     [not found] <ct4xS-63o-27@gated-at.bofh.it>
2009-07-28 16:40 ` Daniel J Blueman
2009-07-28 16:45   ` Sylvain Rochet
2009-08-21 11:05     ` Daniel J Blueman
2009-08-21 14:32       ` Sylvain Rochet

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=20090804110217.GB4016@gradator.net \
    --to=gradator@gradator.net \
    --cc=jack@suse.cz \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®