From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Dilger Subject: Re: ext3 filesystem which can't be corrected? Date: Thu, 10 Apr 2008 10:41:00 -0600 Message-ID: <20080410164100.GB5693@webber.adilger.int> References: <47F3A046.7020301@wpkg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Cc: LKML To: Tomasz Chmielewski Return-path: Received: from sca-es-mail-2.Sun.COM ([192.18.43.133]:47173 "EHLO sca-es-mail-2.sun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756140AbYDJQlI (ORCPT ); Thu, 10 Apr 2008 12:41:08 -0400 Received: from fe-sfbay-09.sun.com ([192.18.43.129]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m3AGf82P022267 for ; Thu, 10 Apr 2008 09:41:08 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JZ400A01BO43P00@fe-sfbay-09.sun.com> (original mail from adilger@sun.com) for linux-fsdevel@vger.kernel.org; Thu, 10 Apr 2008 09:41:08 -0700 (PDT) In-reply-to: <47F3A046.7020301@wpkg.org> Content-disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 > e2fsck comes from e2fsprogs 1.39 - should I try something newer? It is usually best to use the latest version. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.