X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p9I9x4v1078276 for ; Tue, 18 Oct 2011 04:59:04 -0500 X-ASG-Debug-ID: 1318931942-1e5e00df0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from smtprelay03.ispgateway.de (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2A35C1D5A4F for ; Tue, 18 Oct 2011 02:59:02 -0700 (PDT) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.26]) by cuda.sgi.com with ESMTP id nJCdj0CKHKRDkZHj for ; Tue, 18 Oct 2011 02:59:02 -0700 (PDT) Received: from [62.43.225.238] (helo=[192.168.30.191]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1RG6Ro-0000cT-25; Tue, 18 Oct 2011 11:59:00 +0200 Message-ID: <4E9D4DE3.5080304@cape-horn-eng.com> Date: Tue, 18 Oct 2011 11:58:59 +0200 From: Richard Ems User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Dave Chinner CC: xfs@oss.sgi.com X-ASG-Orig-Subj: Re: xfs_repair v3.1.6 - Segmentation fault AND XFS internal error xfs_btree_check_sblock Subject: Re: xfs_repair v3.1.6 - Segmentation fault AND XFS internal error xfs_btree_check_sblock References: <4E9C3EEF.5080609@cape-horn-eng.com> <20111017225223.GU3159@dastard> In-Reply-To: <20111017225223.GU3159@dastard> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Df-Sender: cmljaGFyZC5lbXNAY2FwZS1ob3JuLWVuZy5jb20= X-Barracuda-Connect: smtprelay03.ispgateway.de[80.67.31.26] X-Barracuda-Start-Time: 1318931943 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0005 1.0000 -2.0180 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.2.77680 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On 10/18/2011 12:52 AM, Dave Chinner wrote: > A corrupt inode allocation btree - not a particularly common type of > corruption to be reported. Do you know what caused the errors to > start being reported? A crash, a bad disk, a raid rebuild, something > else? That information always helps us understand how badly damaged > the filesystem might be.... We had a hard disc failure on an Areca 1680 RAID controller, RAID 6. I checked the firmware and the last available version is already installed. > And I'd guess that is failing on a different problem - a corrupt > inode most likely. You've build xfs-repair from the source code - > can yo urun it under gdb so we can see where it is dying? I already run it under gdb and sent some mails to Christoph Hellwig. He found an *issue* in the xfsprogs/repair/attr_repair.c code and sent me a patch that fixed it. Now "xfs_repair -n -P /dev/sdb1" runs without errors. But before repairing the XFS I have to rsync as much as I can from this XFS to another one which is still not available. So it will take a couple of days before I can run xfs_repair on the XFS. > That sounds like there's a *lot* of damage to the filesystem. That > makes it even more important that we understand what caused the > damage in the first place.... Yes, lots of damage. 8( Thanks for your help, Richard -- Richard Ems mail: Richard.Ems@Cape-Horn-Eng.com Cape Horn Engineering S.L. C/ Dr. J.J. Dómine 1, 5º piso 46011 Valencia Tel : +34 96 3242923 / Fax 924 http://www.cape-horn-eng.com