[DRBD-user] Re: size in drbd.conf and size of drbd0 should be the same?

Alex linux at vfemail.net
Fri Aug 29 17:37:50 CEST 2008

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


On Friday 29 August 2008 18:03, Norbert Tretkowski wrote:
> Am Thu, 28 Aug 2008 11:25:23 +0300 schrieb Alex:
> > On Wednesday 27 August 2008 16:55, Norbert Tretkowski wrote:
> >> Am Wed, 27 Aug 2008 10:49:03 +0300 schrieb Alex:
> >> > fdisk is reporting 19.3GB for /dev/drbd0 but in drbd.conf i
> >> > configured a smaller size for it (18GB). Is this normal?
> >>
> >> Yes.
> >>
> >> 18*1024*1024*1024 -> 19327352832
> >
> > No, that's not correct: 19327352832 != 19.3GB!
> >
> >From util-linux source:
>
> /* With K=1024 we have `binary' megabytes, gigabytes, etc.
>    Some misguided hackers like that.
>    With K=1000 we have MB and GB that follow the standards
>    [SI, ATA, IEEE etc] and the disk manufacturers and the law. */
> #define K       1000
>
>  Norbert
>

You are right Norbert. From the first time you was right, and in my last post 
i agree that... In fact, my confussion started when drbd has used in the 
wrong way, the same abbreviation (GB) to express different measurement units 
(GiB and GB), booth referring size... and i said: wow... how i possible that 
2 shoes to be equal with 3 shoes... this is impossible...shoes are shoes all 
the time... ;-)

Regards,
Alx





More information about the drbd-user mailing list