How to calculate proper amount of inode/block sizes for a linux filesystem.
Posted
by Donatello
on Super User
See other posts from Super User
or by Donatello
Published on 2010-05-08T22:21:44Z
Indexed on
2010/05/08
22:30 UTC
Read the original article
Hit count: 178
I have an old reiser filesystem which I'm going to convert to Ext3. The problem I have is to determine the proper block- and inode-sizes for this partition.
The partition is 44 GB large and has to hold 3,000,000+ files of sizes between 1 kb and 10kb, how can I figure out the best ratio of inodes and blocksize?
The below is something I tried which seems OK but makes the copying files incredibly slow.
mkfs.ext3 -t ext3 -c -c -b 1024 -i 4096 -I 128 -v -j -O sparse_super,filetype,has_journal /dev/sdb1
Thanks.
© Super User or respective owner