From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id 2171B7F3F for ; Wed, 17 Dec 2014 13:35:47 -0600 (CST) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay3.corp.sgi.com (Postfix) with ESMTP id B40EDAC0E6 for ; Wed, 17 Dec 2014 11:35:46 -0800 (PST) Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by cuda.sgi.com with ESMTP id tXjHzwU0Yhq7Rfmq (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 17 Dec 2014 11:35:41 -0800 (PST) Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A7D41AC40 for ; Wed, 17 Dec 2014 19:35:39 +0000 (UTC) Date: Wed, 17 Dec 2014 20:35:35 +0100 From: Jan Kara Subject: Disconnected inodes after test xfs/261 Message-ID: <20141217193535.GA8231@quack.suse.cz> MIME-Version: 1.0 Content-Disposition: inline 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: xfs@oss.sgi.com Hello, in my test KVM with today's Linus' kernel I'm getting xfs_repair complaint about disconnected inodes after the test xfs/261 finishes (with success). xfs_repair output is like: xfs_repair -n /dev/vdb2 Phase 1 - find and verify superblock... Phase 2 - using internal log - scan filesystem freespace and inode maps... - found root inode chunk Phase 3 - for each AG... - scan (but don't clear) agi unlinked lists... - process known inodes and perform inode discovery... - agno = 0 - agno = 1 - agno = 2 - agno = 3 - process newly discovered inodes... Phase 4 - check for duplicate blocks... - setting up duplicate extent list... - check for inodes claiming duplicate blocks... - agno = 0 - agno = 1 - agno = 2 - agno = 3 No modify flag set, skipping phase 5 Phase 6 - check inode connectivity... - traversing filesystem ... - traversal finished ... - moving disconnected inodes to lost+found ... disconnected inode 132, would move to lost+found disconnected inode 133, would move to lost+found Phase 7 - verify link counts... No modify flag set, skipping filesystem flush and exiting. --- Given how trivial test xfs/261 is, it seems like created private mtab files that also get unlinked don't get added to AGI unlinked list before umount. I didn't have a detailed look whether that's possible or not and probably won't get to it before Christmas. So I'm sending this just in case someone more knowledgeable has ideas earlier... Honza -- Jan Kara SUSE Labs, CR _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs