filesystem size after newfs

Naeem Afzal nafzal at hotmail.com
Wed Aug 12 21:19:57 UTC 2009



Block size is set to 4K, did you mean fragment size should be 4K too? Are you saying that for each block of 512b there is 32b for space consumed for hash? Is this only when using authentication algorithm?
regardsnaeem
>
> To ensure atomicity of operations, geli stores hashes in the same
> sector as the data. Creating geli providers with block size of 512 bytes
> is very inefficient. It will consume two sectors for each sector, which
> looks like this:
>
> 1 512b of data -----> 480b for data + 32b for hash
> 2 32b for data + 32b for hash + 448b unused
>
> The most optimal block size for geli provider is 4kB, it consumes one
> extra sector for every 8 sectors:
>
> 1 512b of data -----> 480b for data + 32b for hash
> 2 512b of data 480b for data + 32b for hash
> 3 512b of data 480b for data + 32b for hash
> 4 512b of data 480b for data + 32b for hash
> 5 512b of data 480b for data + 32b for hash
> 6 512b of data 480b for data + 32b for hash
> 7 512b of data 480b for data + 32b for hash
> 8 512b of data 480b for data + 32b for hash
> 9 256b for data + 32b for hash + 224 unused
>
> --
> Pawel Jakub Dawidek http://www.wheel.pl
> pjd at FreeBSD.org http://www.FreeBSD.org
> FreeBSD committer Am I Evil? Yes, I Am!

_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009


More information about the freebsd-fs mailing list