dealing with mke2fs -T option

GARDAIS Ionel Ionel.Gardais at tech-advantage.com
Sun May 27 09:39:43 UTC 2007


Hi,

I have a doubt if I use the mke2fs option the right way.

I formatted two different disks, one with 
$ mke2fs -b 4096 -E stride=16 -m 1 -T news /dev/sdd
and the other with 
$ mke2fs -b 4096 -E stride=16 -m 1 -T largefile4 /dev/sde

sdd is supposed to get files between 8k and 16k.
sde will handle files with a fixed size of 32Mb.

Then I tried this :
$ dd if=/dev/zero of=/mount-sdx/file bs=4k count=8192
for both /mount-sdd and /mount-sde

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.

Why don't I get "8192 inodes used" for sdd (1 inode / 4k) and "8 inodes used" for sde (1 inode / 4Mb) ?


Thanks for your lights,
Ionel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20070527/950a4511/attachment.htm>


More information about the Ext3-users mailing list