[DRBD-user] Synced or not?

Cameron Smith velvetpixel at gmail.com
Wed Mar 17 16:40:27 CET 2010


I am stuck.

I did in an initial install of DRBD and was able to achieve a sync from
primary to secondary!

Maybe.

My partition that is source on primary and destination on secondary is:

/dev/sda2 /data

When I create files in the /data directory I can see that DRBD is
recognizing that things are changing and when I run:

cat /proc/drbd

on both primary and secondary I see they both change if I modify or add
files in /data on the primary.


My question is why do I not see those same files on /data on the secondary?

Shouldn't they be there?


Here is the output of cat /proc/drbd from both systems:

[[root at clst01 ~]# cat /proc/drbd
version: 8.0.16 (api:86/proto:86)
GIT-hash: d30881451c988619e243d6294a899139eed1183d build by
mockbuild at v20z-x86-64.home.local, 2009-08-22 13:26:57

 1: cs:SyncSource st:Primary/Secondary ds:UpToDate/Inconsistent C r---
    ns:712320 nr:0 dw:0 dr:712320 al:0 bm:43 lo:0 pe:0 ua:0 ap:0
[>....................] sync'ed:  1.2% (62300/62996)M
finish: 44:18:11 speed: 376 (320) K/sec
resync: used:0/61 hits:44476 misses:44 starving:0 dirty:0 changed:44
act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0



[root at clst02 ~]# cat /proc/drbd
version: 8.0.16 (api:86/proto:86)
GIT-hash: d30881451c988619e243d6294a899139eed1183d build by
mockbuild at v20z-x86-64.home.local, 2009-08-22 13:26:57

 1: cs:SyncTarget st:Secondary/Primary ds:Inconsistent/UpToDate C r---
    ns:0 nr:718400 dw:718400 dr:0 al:0 bm:43 lo:0 pe:0 ua:0 ap:0
[>....................] sync'ed:  1.2% (62292/62996)M
finish: 33:13:27 speed: 416 (320) K/sec
resync: used:0/61 hits:44856 misses:44 starving:0 dirty:0 changed:44
act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0


Thanks!
Cameron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100317/189f8551/attachment.htm>


More information about the drbd-user mailing list