Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 01:31:43 +0100
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        freebsd-questions@freebsd.org
Subject:   Empty directory 60M in size; used to contain 1.7 million files
Message-ID:  <200611270131.44366.peter.schuller@infidyne.com>

next in thread | raw e-mail | index | archive | help
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 <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611270131.44366.peter.schuller>