From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id AFD2E7F3F for ; Wed, 10 Jul 2013 19:31:33 -0500 (CDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by relay1.corp.sgi.com (Postfix) with ESMTP id 9AB738F8035 for ; Wed, 10 Jul 2013 17:31:30 -0700 (PDT) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by cuda.sgi.com with ESMTP id SQ60tVUGNa89CQwF for ; Wed, 10 Jul 2013 17:31:29 -0700 (PDT) Date: Thu, 11 Jul 2013 10:31:22 +1000 From: Dave Chinner Subject: Re: Corruption of root fs during git bisect of drm system hang Message-ID: <20130711003122.GR3438@dastard> References: <20130710090634.GA356@x4> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130710090634.GA356@x4> 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 Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Markus Trippelsdorf Cc: xfs@oss.sgi.com On Wed, Jul 10, 2013 at 11:06:34AM +0200, Markus Trippelsdorf wrote: > While bisecting a system hang, caused by the drm gpu subsystem, my root fs got > corrupted: I don't see any corruption being repaired.... > > # xfs_repair /dev/sdc2 > Phase 1 - find and verify superblock... > Phase 2 - using internal log > - zero log... > - scan filesystem freespace and inode maps... > agi unlinked bucket 6 is 682886 in ag 3 (inode=101346182) > agi unlinked bucket 7 is 11335 in ag 3 (inode=100674631) > agi unlinked bucket 10 is 682890 in ag 3 (inode=101346186) > agi unlinked bucket 21 is 981 in ag 3 (inode=100664277) > agi unlinked bucket 23 is 5704343 in ag 3 (inode=106367639) > agi unlinked bucket 29 is 211421 in ag 3 (inode=100874717) > agi unlinked bucket 31 is 7681375 in ag 3 (inode=108344671) > agi unlinked bucket 34 is 3480162 in ag 3 (inode=104143458) > agi unlinked bucket 40 is 211432 in ag 3 (inode=100874728) > agi unlinked bucket 41 is 2704937 in ag 3 (inode=103368233) > agi unlinked bucket 45 is 594669 in ag 3 (inode=101257965) > agi unlinked bucket 62 is 11902 in ag 3 (inode=100675198) That's a filesystem that has unlinked inodes on the unlinked list. They get cleaned up during log replay. All the other "errors" are related to cleaning these up.... So what is making you think there is a corruption? What's the error being reported when you are using the filesystem? i.e. what's the entire process you go through before you get to finding this problem? Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs