[DRBD-user] DRBD 8.0.13-HA 2.1.3 sync after physical move

Bruce Wolfe brucew at marininstitute.org
Fri Jul 29 23:50:21 CEST 2011

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


Hi! Could use a little help. I'm a newb to DRDB-HA but understand the concepts and am handy on the CLI. In fact, I found that the Secondary server has been 'disconnected' for over a month. These servers run only Zimbra at the moment running on CentOS 5.5. I hope what I provide below is enough to get the ball rolling. 

Thank you in advance for any prompt help you may be able to offer today. 


I inherited this system and after a physical move of the bare metal to a faster connection at data center, drbd-ha seems to not connect and sync. 

The internal LAN is working as I can ping the ports from each server to the other. Bu t, it is spotty to be able to telnet in. The peer server, Zimbra2, gets it here and there using 192.168.1.2 but the master, Zimbra1, I can never get to work using the standard port, 'telnet 192.168.1.1 7788' 

Despite that, Zimbra1 is st:Primary/Unknown and Zimbra2 is st:Secondary/Unknown. 
Since Zimbra2 has been drbd-ha offline for some time, I was advised by other on IRC to discard the data before reconnecting. 

Logged into Zimbra2 server and after disconnecting Zimbra2 (Secondary) using 'drbdadm disconnect repdata' I performed 'drbdadm -- --discard-my-data connect repdata' but /proc/drbd on Zimbra2 still results in UpToDate. 

I even tried stopping HA on Zimbra2 but that didn't make a difference either. 
Any ideas? I want Zimbra1 (Primary) to populate Zimbra2 as it is the working server with the most recent data. 

Now, /dev/drbd0 exists on Zimbra2 but is not mounted that I can see. In order to --discard-my-data, does the drive need to be mounted? 

On Zimbra1 it is mounted like this: 
/dev/drbd0 on /opt type ext3 (rw) 
On Zimbra2 there is no record of it being mounted. 


Here is /proc/drbd for Zimbra1: 
@zimbra1 ~]# cat /proc/drbd 
version: 8.0.13 (api:86/proto:86) 
GIT-hash: ee3ad77563d2e87171a3da17cc002ddfd1677dbe build by buildsvn at c5-x8664-build, 2008-10-03 10:12:56 
0: cs:StandAlone st:Primary/Unknown ds:UpToDate/DUnknown r--- 
ns:0 nr:0 dw:1505899068 dr:1246861951 al:3145701 bm:3145590 lo:0 pe:0 ua:0 ap:0 
resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0 
act_log: used:0/127 hits:353787267 misses:3888262 starving:1706 dirty:741251 changed:3145701 

Here is /proc/drbd for Zimbra2: 
@zimbra2 ~]# cat /proc/drbd 
version: 8.0.13 (api:86/proto:86) 
GIT-hash: ee3ad77563d2e87171a3da17cc002ddfd1677dbe build by buildsvn at c5-x8664-build, 2008-10-03 10:12:56 
0: cs:StandAlone st:Secondary/Unknown ds:UpToDate/DUnknown r--- 
ns:0 nr:0 dw:912 dr:41418 al:18 bm:62 lo:0 pe:0 ua:0 ap:0 
resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0 
act_log: used:0/127 hits:210 misses:18 starving:0 dirty:0 changed:18 

Also, here is /etc/drbd.conf if that helps. 
@zimbra2 ~]# cat /etc/drbd.conf 
global { usage-count no; } 
resource repdata { 
protocol C; 
startup { wfc-timeout 0; degr-wfc-timeout 120; } 
disk { on-io-error detach; } 
syncer { rate 25M; } 
on zimbra1.marininstitute.org { 
device /dev/drbd0; 
disk /dev/VolGroup01/LogVol01; 
address 192.168.1.1:7788; 
meta-disk internal; 
} 
on zimbra2.marininstitute.org { 
device /dev/drbd0; 
disk /dev/VolGroup00/LogVol00; 
address 192.168.1.2:7788; 
meta-disk internal; 
} 
} 

Thank you in advance for any prompt help you may be able to offer today. 











Bruce M. Wolfe, M.S.W., CIO 



24 Belvedere St. 
San Rafael, CA 94901 
415/456.5692 x213 main 
415/257.2493 office 
415/456.0491 fax 
KI6BSL ham 


"He that falls in love with himself will have no rivals." - Benjamin Franklin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110729/0e14e9ad/attachment.htm>


More information about the drbd-user mailing list