>> We have the following problem here:
>> 500MB filesystem, 400MB used, 44% inodes free, but no one (even root) can't
>> create any addition files. FS is used with about 7000 directories an some
>> n*1000++ tiny files.
I got some replies on my summary, which were quite useful.
RESULT: newfs the filesystem with smaller blocks (e.g. -b 4096, but sun4u
can currently only use 8192 byte blocks) and allow smaller fragmentation
I haven't tested it (because the user removed most of his stuff), but
the information should be in an archive - shouldn't it? I also included
Casper's (ex. of newfs options) and Karl's (DB) replies ...
Thanks again to
Casper Dik <casper@hollan.Sun.Com>
email@example.com (Roland Grefer)
David Thorburn-Gundlach <firstname.lastname@example.org>
"Karl E. Vogel" <email@example.com>
firstname.lastname@example.org (David Mitchell)
"Burelbach, Jonathan" <JBurelbach@feddata.com>
From: Casper Dik <casper@holland.Sun.COM>
> When you have many small files, fragmentation is a problem but not
> one that's fixable usign dump/retore.
> The best way to deal with that is eitehr changign teh storage format
> or dump and then *newfs* with a smaller fragment and smaller block
> size. (1k fragment/8K blocks are the default; you could use 512 /4K
> fragment/ blocks. (Unfortunately, such filesystems are not
> mountable on Ultras, something Sun should fix)
> Ue fastfs when restoring such a filesystem or it will take forever.
>From "Karl E. Vogel" <email@example.com>
> You might be able to use the Berkeley DB routines to set up
> fixed-length files in such a way as to avoid the fragmentation. For
> Any file shorter than 128 bytes --> pad to 128 bytes and append to
> Any file between 129-256 bytes --> pad to 256 bytes and append to
> For a large enough collection of files, you would be dropping the
> fragmentation size of the system from 1K down to approximately 128
> bytes, as well as freeing up a bunch of inodes.
-- [ firstname.lastname@example.org | email@example.com IAKS Uni KA ] [ University of Karlsruhe, Markus Weber, Parkstr. 17, 76131 Karlsruhe,Germany ]
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:11 CDT