[DRBD-user] drbd storage size

Digimer lists at alteeve.ca
Thu Oct 23 15:26:27 CEST 2014

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


On 23/10/14 09:17 AM, Philipp Reisner wrote:
> Am Donnerstag, 23. Oktober 2014, 08:55:03 schrieb Digimer:
>> On 23/10/14 04:00 AM, Philipp Reisner wrote:
>>> 2a) Initialize both backend devices to a known state.
>>>
>>>       I.e. dd if=/dev/zero of=/dev/sdb1 bs=$((1024*1024)) oflag=direct
>>
>> Question;
>>
>>     What I've done in the past to speed up initial sync is to create the
>> DRBD device, pause-sync, then do your 'dd if=/dev/zero ...' trick to
>> /dev/drbd0. This effectively drives the resync speed to the max possible
>> and ensures full sync across both nodes. Is this a sane approach?
>>
>
> Yes, sure that is a way to do it. (I have the impression that is something
> form the drbd-8.3 world.)

Guilty as charged! :)

> I do not know from the top of the head if that will be faster than the
> built-in background resync in drbd-8.4.
>
> Best,
>   Phil

I am just this week starting to migrate to 8.4, so I will make a point 
to look into this. I will start a fresh sync, do nothing else on the 
system and see how long it takes.

Cheers

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?



More information about the drbd-user mailing list