From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Chmielewski Subject: Re: ext3 filesystem which can't be corrected? Date: Thu, 10 Apr 2008 18:50:16 +0200 Message-ID: <47FE4548.6000203@wpkg.org> References: <47F3A046.7020301@wpkg.org> <20080410164100.GB5693@webber.adilger.int> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: LKML To: Andreas Dilger Return-path: Received: from mail.syneticon.net ([213.239.212.131]:41693 "EHLO mail2.syneticon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756201AbYDJQuY (ORCPT ); Thu, 10 Apr 2008 12:50:24 -0400 In-Reply-To: <20080410164100.GB5693@webber.adilger.int> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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