From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p3C9jxIt143524 for ; Tue, 12 Apr 2011 04:45:59 -0500 Received: from ipmail06.adl6.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2DAF914BCECD for ; Tue, 12 Apr 2011 02:49:19 -0700 (PDT) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id Qc5VzvtgyEADwywB for ; Tue, 12 Apr 2011 02:49:19 -0700 (PDT) Date: Tue, 12 Apr 2011 19:49:17 +1000 From: Dave Chinner Subject: Re: fs corruption Message-ID: <20110412094917.GY31057@dastard> References: <31377534.post@talk.nabble.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <31377534.post@talk.nabble.com> 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: stress_buster Cc: xfs@oss.sgi.com On Tue, Apr 12, 2011 at 02:33:07AM -0700, stress_buster wrote: > > My dmesg output shows the below trace. It repeats over and over again. > > XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1545 of file > fs/xfs/xfs_alloc.c. Caller 0xffffffff881a8961 > > Call Trace: > [] :xfs:xfs_free_ag_extent+0x19e/0x67e > [] :xfs:xfs_free_extent+0xa9/0xc9 > [] :xfs:xlog_recover_process_efi+0x112/0x16c > [] :xfs:xfs_fs_fill_super+0x0/0x3e4 > [] :xfs:xlog_recover_process_efis+0x4f/0x8d > [] :xfs:xlog_recover_finish+0x14/0xad > [] :xfs:xfs_fs_fill_super+0x0/0x3e4 > [] :xfs:xfs_mountfs+0x498/0x5e2 > [] :xfs:xfs_mru_cache_create+0x113/0x143 > [] :xfs:xfs_fs_fill_super+0x203/0x3e4 > [] get_sb_bdev+0x10a/0x16c > [] vfs_kern_mount+0x93/0x11a > [] do_kern_mount+0x36/0x4d > [] do_mount+0x6a9/0x719 > [] __handle_mm_fault+0x5f2/0xfaa > [] __up_read+0x19/0x7f > [] do_page_fault+0x4fe/0x874 > [] inode_doinit_with_dentry+0x86/0x47c > [] zone_statistics+0x3e/0x6d > [] __alloc_pages+0x78/0x308 > [] sys_mount+0x8a/0xcd > [] system_call+0x7e/0x83 > > Failed to recover EFIs on filesystem: cciss/c0d0 > XFS: log mount finish failed > > Can someone shed some light on what is happening here? You have a corrupted free space btree. How it occurred, I have no idea. > Also what the next steps I need to take to repair the fs? (assuming my xfs > fs is corrupted) > Will running xfs_repair be good enough in this case? That's all you can do. If it's really important, and you don't have a backup, I'd suggest mounting with "-o ro,norecovery" and taking a backup first.... Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs