Re: Empty directory 60M in size; used to contain 1.7 million files

2006-11-27 Thread Peter Schuller
Directories are only shrunk when a file is created and the slack directory space can be trivially truncated. This is to avoid useless compaction during rm -rf-style activities of a directory that will just be deleted anyway. Just create a dummy file with touch and the directory will shrink

Re: Empty directory 60M in size; used to contain 1.7 million files

2006-11-27 Thread Andrew Pantyukhin
On 11/27/06, Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Nov 27), Peter Schuller said: 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

Re: Empty directory 60M in size; used to contain 1.7 million files

2006-11-26 Thread Jeff Mohler
The directory size grew to accomodate the metadata required to list the files within it. You cant shrink it. You'll have to remove it and recreate it. On 11/26/06, Peter Schuller [EMAIL PROTECTED] wrote: Hello, Observe: hyperion# ls -la total 61634 drwxr-xr-x 2 xxx yyy 63047168 Nov 18

Re: Empty directory 60M in size; used to contain 1.7 million files

2006-11-26 Thread Dan Nelson
In the last episode (Nov 27), Peter Schuller said: 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