<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE : dealing with mke2fs -T option</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

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

</BODY>
</HTML>