From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id n081PQOJ021553 for ; Wed, 7 Jan 2009 19:25:26 -0600 Received: from ipmail05.adl2.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 97C936E045 for ; Wed, 7 Jan 2009 17:25:25 -0800 (PST) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by cuda.sgi.com with ESMTP id OB4kldIc1zJ5rLau for ; Wed, 07 Jan 2009 17:25:25 -0800 (PST) Date: Thu, 8 Jan 2009 12:19:36 +1100 From: Dave Chinner Subject: Re: xfs error Message-ID: <20090108011936.GF9448@disturbed> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Gomel Kiev Cc: xfs@oss.sgi.com On Tue, Jan 06, 2009 at 11:02:20PM -0700, Gomel Kiev wrote: > Hello, here is whole story, maybe somebody can help. > hardware: buffalo linkstation + "MS2UT+B" in mirror mode, raid1. > 2x1tb seagate drives > buffalo : > root@BUFFALO:~# uname -a > Linux BUFFALO 2.6.16.16-arm1 #9 Wed Mar 7 14:17:36 JST 2007 armv5tejl unknown > > xfs version: > root@BUFFALO:~# xfs_info -V /mnt/usbdisk2 > xfs_info version 2.5.6 That's on ARM... > on dec 12, log show errors: > Dec 12 04:26:28 BUFFALO kernel: 0x0: 60 f2 de 8d 58 cf 08 48 46 76 56 > 8f 1e 3e 78 29 > Dec 12 04:26:28 BUFFALO kernel: Filesystem "sdc1": XFS internal error > xfs_da_do_buf(2) at line 2221 of file fs/xfs/xfs_da_btree.c. Caller > 0xc011ff60 .... and you have a corrupted directory. > after that , could not mount drive(any). I removed drives from > external storage and connected to Knoppix > here is info: > Linux Knoppix 2.6.19 #7 SMP PREEMPT Sun Dec 17 22:01:07 CET 2006 i686 GNU/Linux > > xfs version: > xfs_info version 2.8.11 Which is x86.... > dmesg shows: > Starting XFS recovery on filesystem: hda (logdev: internal) > Filesystem "hda": XFS internal error xlog_valid_rec_header(1) at line > 3503 of file fs/xfs/xfs_log_recover.c. Caller 0xd14f14d2 > [] xlog_valid_rec_header+0x10f/0x14c [xfs] > [] xlog_do_recovery_pass+0x1e2/0x940 [xfs] > [] xlog_do_recovery_pass+0x1e2/0x940 [xfs] > [] xlog_recover+0xdf/0x250 [xfs] and this is trying to replay a dirty log in ARM format. You need to get the log cleaned before you'll be able to mount it on a non-ARM platform. > xfs_repair on knoppix running 20 hours, showing: > Phase 1 - find and verify superblock... > couldn't verify primary superblock - not enough secondary superblocks > with match ing geometry !!! That implies a clean log - did you zero it first to get repair to run? Have you tried running repair on the ARM box? Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs