From owner-freebsd-questions@FreeBSD.ORG Sun Nov 26 23:31:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8C7B16A407 for ; Sun, 26 Nov 2006 23:31:39 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from hyperion.scode.org (hyperion.scode.org [85.17.42.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF64143D55 for ; Sun, 26 Nov 2006 23:30:42 +0000 (GMT) (envelope-from peter.schuller@infidyne.com) Received: from localhost (www.scode.org [85.17.42.115]) by hyperion.scode.org (Postfix) with ESMTP id F0904239447 for ; Mon, 27 Nov 2006 00:31:37 +0100 (CET) From: Peter Schuller To: freebsd-questions@freebsd.org Date: Mon, 27 Nov 2006 01:31:43 +0100 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611270131.44366.peter.schuller@infidyne.com> Subject: Empty directory 60M in size; used to contain 1.7 million files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2006 23:31:39 -0000 Hello, Observe: hyperion# ls -la total 61634 drwxr-xr-x 2 xxx yyy 63047168 Nov 18 21:33 . drwxr-xr-x 6 xxx yyy 512 Oct 8 16:39 .. hyperion# find . . hyperion# The one special circumstance is that the directory previously contained 1.7 million small files, that are now deleted. This is on FreeBSD 6.1 with UFS2 + softupdates. No snapshots exist of the filesystem. 1.7 million files may be extreme, but I don't see why an empty directory would ever consume more than one inode? -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org