>For a gross device size of 1,610,612,736 kiB (1,536 GiB), your available net size is 1,610,366,940 kiB, so since your calculation yielded a somewhat smaller net size, it would have been sufficiently accurate to enable creation of the DRBD meta data in the empty space behind the file system.

>Here are the calculation results from the algorithms also used in LINSTOR:

>Calculation results
>***
>Peers:                             5
>Activity log size:                32 kiB   (           64 sectors)
>Activitiy log stripes:             1
>***
>Net size:                 1610366940 kiB   (   3220733880 sectors)
>                        (~      1.50 TiB)
>Gross size:               1610612736 kiB   (   3221225472 sectors)
>                        (~      1.50 TiB)
>Effective meta data size:     245796 kiB   (       491592 sectors)
>                        (~    240.04 MiB)

>Unless I mistyped something, these results should be accurate.

I see, since it's pretty close & sufficient, I think I'll use Sgross / 32768 * Cpeer + 1
MiB in the future if needed.

Thank you so much for the help, Mr. Robert and Mr. Adam.
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
[email protected]
https://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to