Volker Dormeyer wrote:

>Hi,
>
>I'm new to ReiserFS and I'm very interested in filesystem structures.
>This morning I did my first tests on ReiserFS.
>I found that ReiserFS uses an initial amount of space after creating
>the filesystem. For example after filesystem creation on a 100MB
>partition, ReiserFS seems to be use 32MB of disk space. Mkreiserfs
>said that it will use 8MB for the journal. Can somebody tell me, for
>what the rest of the 32MB is used (perhaps for the tree?).
>
>Thanks,
>Volker   
>
At the beginning ReiserFS marks as used first 16 blocks of device first. 
Then one block for super, one block for first bitmap block and 8192 + 1 
blocks (default) for journal. Also one block occupied by root block and 
other bitmap blocks.

For my ReiserFS partition (14795376 1k-blocks and block_size == 4096) 
bitmap occupied 114 +1 blocks.

Therefore we have: 16 + 1 + 1 + 8192 + 1 + 1 + 114 = 8326 blocks :)
For block_size  == 4096, we have ~34 Mb

-- 
Yury Umanets
IT Engineer of Priocom Corp.
Phone: +380 44 2011959, ICQ: 55494590



Reply via email to