Received: with ECARTIS (v1.0.0; list xfs); Sun, 24 Aug 2008 19:01:22 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_26 autolearn=no version=3.3.0-r574664 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m7P21LcJ017487 for ; Sun, 24 Aug 2008 19:01:21 -0700 X-ASG-Debug-ID: 1219629763-5ca400940000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from ipmail01.adl6.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1093A3C893F for ; Sun, 24 Aug 2008 19:02:43 -0700 (PDT) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by cuda.sgi.com with ESMTP id vM4uyYfHy0rhGJzj for ; Sun, 24 Aug 2008 19:02:43 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkDAMOusUh5LD0wiGdsb2JhbACSLQEBAQ8gn3mBaw X-IronPort-AV: E=Sophos;i="4.32,264,1217773800"; d="scan'208";a="179456295" Received: from ppp121-44-61-48.lns10.syd7.internode.on.net (HELO disturbed) ([121.44.61.48]) by ipmail01.adl6.internode.on.net with ESMTP; 25 Aug 2008 11:32:40 +0930 Received: from dave by disturbed with local (Exim 4.69) (envelope-from ) id 1KXRPj-0008VK-36; Mon, 25 Aug 2008 12:02:39 +1000 Date: Mon, 25 Aug 2008 12:02:39 +1000 From: Dave Chinner To: Christian Kujau Cc: xfs@oss.sgi.com X-ASG-Orig-Subj: Re: agi unlinked bucket Subject: Re: agi unlinked bucket Message-ID: <20080825020239.GQ5706@disturbed> Mail-Followup-To: Christian Kujau , xfs@oss.sgi.com References: <20080825003929.GN5706@disturbed> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Barracuda-Connect: ipmail01.adl6.internode.on.net[203.16.214.146] X-Barracuda-Start-Time: 1219629764 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.3632 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV 0.91.2/8082/Sun Aug 24 09:40:03 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 17698 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: david@fromorbit.com Precedence: bulk X-list: xfs On Mon, Aug 25, 2008 at 03:05:24AM +0200, Christian Kujau wrote: > On Mon, 25 Aug 2008, Dave Chinner wrote: >> If you do a mount then unmount then rerun xfs-check, does it go >> away? > > Did that a few times already, and the fs is getting mounted during boot > anyway, but xfs_check still complains: Ok, so if you do a 'ls -i /' do you see an inode numbered 20208090? i.e. is it the unlinked bucket that is incorrect, or the root directory. > -------------------------------------- > # xfs_check /dev/mapper/md3 2>&1 | tee fsck_md3.log > agi unlinked bucket 26 is 20208090 in ag 0 (inode=20208090) > link count mismatch for inode 128 (name ?), nlink 335, counted 336 > link count mismatch for inode 20208090 (name ?), nlink 0, counted 1 > # mount /mnt/md3 > # dmesg | tail -2 > XFS mounting filesystem dm-3 > Ending clean XFS mount for filesystem: dm-3 > # grep xfs /proc/mounts > /dev/mapper/md3 /mnt/md3 xfs ro,nosuid,nodev,noexec,nobarrier,noquota 0 0 You are not using barriers. Are you using write caching? The problems with filesystem corruption on powerloss when using volatile write caching have traditionally shown up in directory corruptions... Cheers, Dave. -- Dave Chinner david@fromorbit.com