[DRBD-user] Can't shrink backing block device offline

Christophorus Reyhan creyhanta at gmail.com
Thu Jul 22 12:21:31 CEST 2021


 >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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20210722/fc85bf5f/attachment.htm>


More information about the drbd-user mailing list