[DRBD-user] Errata in section "17.1.3. Estimating meta data size" ?

Gilbert Standen gstanden at biztech.com
Sun Sep 25 16:22:39 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,

I'm calculating external meta data size for a resource of size 976773168 
total sectors.

###

Using the "first" formula (the "exact" formula, not the approximation) 
gives:

[ (976773168/262144) x 8 ] + 72 = 29880.751464844 (sectors)

where 262144 = 2^18   (2 raised to the 18th power)

and 29880.751464844 sectors = 0.014248 Gb  = (29880 / 2097152)

###

Now using the "approximation" formula gives

[ 465.76 Mb/32768 ] + 1 = 1.014213867  (not right)

think formula is supposed to be:

[ (465.76 Mb + 1) / 32768 ] = 0.014244385 Gb

which means the formula is:

M(Gb) ={  [ C(Mb) + 1 ] / 32768 }

Which means the result is calculated in units of Gb (not Mb), and that 
the "1" is added to the total size (in Mb) before division by 32768.

###

Please check and let me know if you concur or if I have made mistake.

Thanks,
Gil





More information about the drbd-user mailing list