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

dealing with mke2fs -T option



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


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