drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: [DRBD-user] Synced or not?

[DRBD-user] Synced or not?

From: Cameron Smith <velvetpixel_at_nospam>
Date: Wed Mar 17 2010 - 15:40:27 GMT
To: drbd-user@lists.linbit.com

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@clst01 ~]# cat /proc/drbd
version: 8.0.16 (api:86/proto:86)
GIT-hash: d30881451c988619e243d6294a899139eed1183d build by
mockbuild@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@clst02 ~]# cat /proc/drbd
version: 8.0.16 (api:86/proto:86)
GIT-hash: d30881451c988619e243d6294a899139eed1183d build by
mockbuild@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

_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user