To be complete, here is the way I made my calculus :
I'm gonna write files of 32Mb each on a Xserve RAID with two "arrays" of 4.1Tb (sdd and sde).
So, let me explain :
1/ 32Mb == 32768Kb
2/ on sdd with "-T news" : 1 inode = 4Kb --> 1 32Mb file is made of 8192 inodes
3/ on sde with "-T largefile4" : 1 inode = 4Mb --> 1 32Mb file is made of 8 inodes
Then, as stated by 'df -i' :
sdd contains 549437440 inodes --> 67070 files (8192 inodes per file)
sde contains 1073120 inodes --> 134140 files (8 inodes per file)
Where am I wrong ?
Ionel
-------- Message d'origine--------
De: Bryan Kadzban [mailto:bryan@xxxxxxxxxxxxxxxxxxxxx]
Date: dim. 27/05/2007 14:04
À: GARDAIS Ionel
Cc: ext3-users@xxxxxxxxxx
Objet : Re: dealing with mke2fs -T option
GARDAIS Ionel wrote:
> Then I tried this :
> $ dd if=/dev/zero of=/mount-sdx/file bs=4k count=8192
> for both /mount-sdd and /mount-sde
>
> Why don't I get "8192 inodes used"
Because the FS creates one inode per file (unless you create a hard
link, anyway), not one inode per X bytes. You only created one file
here. ;-)
_______________________________________________ Ext3-users mailing list Ext3-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ext3-users