<!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>dealing with mke2fs -T option</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
<BR>
I have a doubt if I use the mke2fs option the right way.<BR>
<BR>
I formatted two different disks, one with<BR>
$ mke2fs -b 4096 -E stride=16 -m 1 -T news /dev/sdd<BR>
and the other with<BR>
$ mke2fs -b 4096 -E stride=16 -m 1 -T largefile4 /dev/sde<BR>
<BR>
sdd is supposed to get files between 8k and 16k.<BR>
sde will handle files with a fixed size of 32Mb.<BR>
<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>
My question is : when I do a "df", can see that 32Mb is used on each filesystems (which is what I expected from the dd) BUT doing a "df -i" to list the number of inodes used, I have 1 inode used on each filesystem too.<BR>
<BR>
Why don't I get "8192 inodes used" for sdd (1 inode / 4k) and "8 inodes used" for sde (1 inode / 4Mb) ?<BR>
<BR>
<BR>
Thanks for your lights,<BR>
Ionel</FONT>
</P>

</BODY>
</HTML>