dealing with mke2fs -T option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: dealing with mke2fs -T option

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

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux