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

Norbert Tretkowski norbert at tretkowski.de
Fri Aug 29 17:03:10 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.


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




More information about the drbd-user mailing list