[DRBD-user] Strange behavior: data not synced

Vitaly Davudov vitaliy.davudov at vts24.ru
Wed Jun 26 09:10:52 CEST 2013

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


Hi list!

I have installed two nodes cluster with kvm vms and drbd storage in 
primary/primary mode. Kvm images stored directly on drbd device in raw 
format is successfully synced between two nodes:

# cat /proc/drbd
version: 8.3.13 (api:88/proto:86-96)
GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by 
root at sighted, 2012-10-09 12:47:51
  0: cs:Connected ro:Primary/Primary ds:UpToDate/UpToDate C r-----
     ns:56570743 nr:12684 dw:56092323 dr:2746853 al:24086 bm:108 lo:0 
pe:1 ua:0 ap:1 ep:1 wo:b oos:0

Then I decided to create new replicated logical device to store my 
backups. To do this I do:

lvcreate --name ovz-storage --size 1.2T drbdvg

mkfs.ext3 /dev/drbdvg/ovz-storage

cd /var/lib/vz
mkdir ovz-storage
mount /dev/drbdvg/ovz-storage /var/lib/vz/ovz-storage
mount /var/lib/vz/ovz-storage

But when I added any data in mounted directory 
(/var/lib/vz/ovz-storage), they doesn't replicated to another node.
Output from console of two nodes:

# lvs
   LV            VG     Attr     LSize  Pool Origin Data%  Move Log 
Copy%  Convert
   ovz-storage   drbdvg -wi-ao--  1.20t
   vm-100-disk-1 drbdvg -wi-a--- 10.00g
   vm-102-disk-1 drbdvg -wi-ao--  5.00g
   vm-107-disk-1 drbdvg -wi-ao--  4.00g
   data          pve    -wi-ao--  3.51t
   root          pve    -wi-ao-- 96.00g
   swap          pve    -wi-ao-- 15.00g

# mount
...
/dev/mapper/drbdvg-ovz--storage on /var/lib/vz/ovz-storage type ext3 
(rw,_netdev)

How to troubleshoot this problem? Any help would be appreciated!

-- 
Best regards,
Vitaly Davudov
VIP-TELECOM-SERVICE Ltd.
("ETERIA" Group of companies)
http://www.vts24.ru




More information about the drbd-user mailing list