From owner-freebsd-fs@FreeBSD.ORG Sat Mar 16 04:01:34 2013 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E23D6477; Sat, 16 Mar 2013 04:01:34 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (chez.mckusick.com [IPv6:2001:5a8:4:7e72:4a5b:39ff:fe12:452]) by mx1.freebsd.org (Postfix) with ESMTP id BC714E4F; Sat, 16 Mar 2013 04:01:34 +0000 (UTC) Received: from chez.mckusick.com (localhost [127.0.0.1]) by chez.mckusick.com (8.14.3/8.14.3) with ESMTP id r2G41Um7026132; Fri, 15 Mar 2013 21:01:30 -0700 (PDT) (envelope-from mckusick@chez.mckusick.com) Message-Id: <201303160401.r2G41Um7026132@chez.mckusick.com> To: Palle Girgensohn Subject: Re: leaking lots of unreferenced inodes (pg_xlog files?), maybe after moving tables and indexes to tablespace on different volume In-reply-to: <51439243.5020604@FreeBSD.org> Date: Fri, 15 Mar 2013 21:01:30 -0700 From: Kirk McKusick X-Spam-Status: No, score=0.0 required=5.0 tests=MISSING_MID, UNPARSEABLE_RELAY autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on chez.mckusick.com Cc: freebsd-fs@FreeBSD.org, Jeff Roberson X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 04:01:34 -0000 I don't know how, but somehow something is holding references to the removed files causing them to fail to be reclaimed. Could you run your system for a while to build up a new set of these files, then run a script with the `df -ih' as before. Then run `vmstat -m', `sysctl debug', and fstat -f /usr' both before and after doing the umount/mount. Hopefully that will give us some more clues as to what is happening. And Jeff, if you have any ideas do speak up :-) Kirk McKusick