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
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user