From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751965AbXC1MmR (ORCPT ); Wed, 28 Mar 2007 08:42:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752021AbXC1MmQ (ORCPT ); Wed, 28 Mar 2007 08:42:16 -0400 Received: from mail.gatrixx.com ([217.111.11.44]:23186 "EHLO mail.gatrixx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751965AbXC1MmP (ORCPT ); Wed, 28 Mar 2007 08:42:15 -0400 Message-ID: <460A6298.4040702@j-o-a.de> Date: Wed, 28 Mar 2007 14:42:00 +0200 From: Oliver Joa User-Agent: Icedove 1.5.0.10 (X11/20070307) MIME-Version: 1.0 To: David Chinner CC: linux-kernel@vger.kernel.org, xfs-oss Subject: Re: Corrupt XFS -Filesystems on new Hardware and Kernel References: <46094344.4090007@j-o-a.de> <20070328113141.GQ32597093@melbourne.sgi.com> In-Reply-To: <20070328113141.GQ32597093@melbourne.sgi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, David Chinner wrote: [...] > What is the corruption message in the log from XFS? > Can you please post that? Without it we really can't help you. > > Also, please check to see if there are any I/O errors > in the log around the time the corruption message appears. Ok, here is a test: test:/# find / -xdev | cpio -padm /test/ cpio: /usr/src/linux-2.6.20.2/Documentation/networking/NAPI_HOWTO.txt: Structure needs cleaning 3648371 blocks test:/# test:/home/olli# uname -a Linux test 2.6.20.4-majestix-1 #1 SMP PREEMPT Tue Mar 27 12:15:41 CEST 2007 i686 GNU/Linux dmesg gives the following: [15442.935941] Filesystem "sda3": XFS internal error xfs_iformat(6) at line 492 of file fs/xfs/xfs_inode.c. Caller 0xc0211f94 [15442.936003] [] xfs_iread+0x4ee/0x6e8 [15442.936039] [] xfs_iget+0x2e4/0x714 [15442.936071] [] xfs_iget+0x2e4/0x714 [15442.936101] [] xfs_dir_lookup_int+0x7d/0xd4 [15442.936135] [] xfs_lookup+0x52/0x78 [15442.936167] [] xfs_vn_lookup+0x3b/0x70 [15442.936201] [] do_lookup+0xa3/0x140 [15442.936234] [] __link_path_walk+0x73d/0xb5e [15442.936278] [] xfs_iunlock+0x51/0x6d [15442.936309] [] link_path_walk+0x44/0xb3 [15442.936342] [] do_path_lookup+0x176/0x191 [15442.936373] [] getname+0x59/0x8f [15442.936402] [] __user_walk_fd+0x2f/0x45 [15442.936431] [] vfs_lstat_fd+0x16/0x3d [15442.936461] [] sys_lstat64+0xf/0x23 [15442.936490] [] syscall_call+0x7/0xb [15442.936519] ======================= And after this command: test:/# rm /usr/src/linux-2.6.20.2/Documentation/networking/NAPI_HOWTO.txt rm: cannot remove `/usr/src/linux-2.6.20.2/Documentation/networking/NAPI_HOWTO.txt': Structure needs cleaning test:/# I got: [18359.750604] Filesystem "sda3": XFS internal error xfs_iformat(6) at line 492 of file fs/xfs/xfs_inode.c. Caller 0xc0211f94 [18359.750701] [] xfs_iread+0x4ee/0x6e8 [18359.750755] [] xfs_iget+0x2e4/0x714 [18359.750802] [] xfs_iget+0x2e4/0x714 [18359.750849] [] xfs_dir_lookup_int+0x7d/0xd4 [18359.750897] [] xfs_lookup+0x52/0x78 [18359.750943] [] xfs_vn_lookup+0x3b/0x70 [18359.750990] [] do_lookup+0xa3/0x140 [18359.751036] [] __link_path_walk+0x73d/0xb5e [18359.751086] [] link_path_walk+0x44/0xb3 [18359.751133] [] rb_insert_color+0x4c/0xad [18359.751180] [] vma_link+0x54/0xcd [18359.751226] [] do_path_lookup+0x176/0x191 [18359.751273] [] getname+0x59/0x8f [18359.751318] [] __user_walk_fd+0x2f/0x45 [18359.751364] [] vfs_lstat_fd+0x16/0x3d [18359.751410] [] rb_insert_color+0x4c/0xad [18359.751457] [] vma_link+0x54/0xcd [18359.751501] [] sys_lstat64+0xf/0x23 [18359.751546] [] do_page_fault+0x277/0x526 [18359.751595] [] do_page_fault+0x0/0x526 [18359.751640] [] syscall_call+0x7/0xb [18359.751686] [] rsc_parse+0x6f/0x37f [18359.751732] ======================= [18359.751784] Filesystem "sda3": XFS internal error xfs_iformat(6) at line 492 of file fs/xfs/xfs_inode.c. Caller 0xc0211f94 [18359.751859] [] xfs_iread+0x4ee/0x6e8 [18359.751906] [] xfs_iget+0x2e4/0x714 [18359.751952] [] xfs_iget+0x2e4/0x714 [18359.751998] [] xfs_dir_lookup_int+0x7d/0xd4 [18359.752047] [] xfs_lookup+0x52/0x78 [18359.752094] [] xfs_vn_lookup+0x3b/0x70 [18359.752140] [] __lookup_hash+0xb1/0xe1 [18359.752191] [] do_unlinkat+0x5f/0x126 [18359.752237] [] do_page_fault+0x277/0x526 [18359.752285] [] syscall_call+0x7/0xb [18359.752331] [] rsc_parse+0x6f/0x37f [18359.752376] ======================= Thanks a Lot Oliver