[DRBD-user] Synced or not?

David Coulson david at davidcoulson.net
Wed Mar 17 16:45:14 CET 2010

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


You need to use a cluster-aware filesystem such as ocfs2 or gfs to be 
able to mount a DRBD device on both boxes at the same time. it looks 
like you are mounting the underlying /dev/sd* block device, not /dev/drbd1.

On 3/17/2010 11:40 AM, Cameron Smith wrote:
> 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
>
>
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100317/17008980/attachment.htm>


More information about the drbd-user mailing list