[DRBD-user] Different sizes sync

Roland Kammerer roland.kammerer at linbit.com
Tue Mar 10 16:03:47 CET 2015

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


On Sun, Mar 08, 2015 at 10:53:43AM +0530, vinay garg wrote:
> Dear Team,
> 
> I did a mistake. I was configuring drbd for two machines
> 
> two machines are follows
> 
> synca: 192.9.200.2
> disk to use for drbd : /dev/mapper/vg_sync-LogVol02 (its a lvm )
> size : 361 GB
> 
> 
> 
> 
> syncb: 192.9.200.3
> disk to use for drbd: /dev/mapper/vg_sync-lv_home (its a lvm )
> size: 410 GB
> 
> I started the drbd sync:
> 
> [root at syncb ~]# cat /proc/drbd
> version: 8.4.5 (api:1/proto:86-101)
> GIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by phil at Build64R6,
> 2014-10-28 10:32:53
> 
>  1: cs:SyncTarget ro:Primary/Secondary ds:Inconsistent/UpToDate C r-----
>     ns:0 nr:347798376 dw:347798272 dr:620 al:0 bm:0 lo:1 pe:2 ua:0 ap:0
> ep:1 wo:f oos:30906292
>     [=================>..] sync'ed: 91.9% (30180/369828)M
>     finish: 1:03:42 speed: 8,080 (7,468) want: 8,720 K/sec
> 
> 
> My question is, *will it affect, that they are of different sizes* ?????

DRBD handles such situations and in that case it agreed on the minimal
size of the two disks. This information is stored and DRBD reports this
size to its upper layer. The nodes talk to each other, they have an
agreed size, you are fine.

Regards, rck



More information about the drbd-user mailing list