All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Andreas Dilger <adilger@sun.com>
Cc: LKML <linux-fsdevel@vger.kernel.org>
Subject: Re: ext3 filesystem which can't be corrected?
Date: Thu, 10 Apr 2008 18:50:16 +0200	[thread overview]
Message-ID: <47FE4548.6000203@wpkg.org> (raw)
In-Reply-To: <20080410164100.GB5693@webber.adilger.int>

Andreas Dilger schrieb:
> On Apr 02, 2008  17:03 +0200, Tomasz Chmielewski wrote:
>> Let's see what we have there - four files with exactly the same name and 
>> inode:
>>
>> # ls -li
>> total 16
>> 73793642 -rw-r----- 179 backuppc backuppc 46 May 14  2007 attrib
>> 73793642 -rw-r----- 179 backuppc backuppc 46 May 14  2007 attrib
>> 73793642 -rw-r----- 179 backuppc backuppc 46 May 14  2007 attrib
>> 73793642 -rw-r----- 179 backuppc backuppc 46 May 14  2007 attrib
>>
>>
>> Let's remove "attrib" file:
>>
>> # rm -f attrib
>>
>> Ouch:
>>
>> # ls
>> ls: attrib: No such file or directory
>> ls: attrib: No such file or directory
>> ls: attrib: No such file or directory
>>
>> When I want to browse the directory i.e. in midnight commander (mc), it 
>> shows me three files in red called "?attrib", dated 1 Jan 1970.
> 
> Looks like it has unprinting characters.  Try
> find . -print0 | xargs -0 rm

Nope, that's something else.
Several files in the same directory which had the same inode number and 
the same name.


>> e2fsck comes from e2fsprogs 1.39 - should I try something newer?
> 
> It is usually best to use the latest version.

True, but the filesystem check takes 8 hours or so here, so I can't 
start it unless a disaster happens.


-- 
Tomasz Chmielewski
http://wpkg.org

      reply	other threads:[~2008-04-10 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02 15:03 ext3 filesystem which can't be corrected? Tomasz Chmielewski
2008-04-10 16:41 ` Andreas Dilger
2008-04-10 16:50   ` Tomasz Chmielewski [this message]

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=47FE4548.6000203@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=adilger@sun.com \
    --cc=linux-fsdevel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.