[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drbd-user
Subject:    Re: [DRBD-user] drbd storage size
From:       Digimer <lists () alteeve ! ca>
Date:       2014-10-23 13:26:27
Message-ID: 54490203.7060504 () alteeve ! ca
[Download RAW message or body]

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?
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic