[DRBD-user] DRBD8 ADJUST&DISCONNECT

yataman raveen at tlen.pl
Mon Nov 26 11:07:31 CET 2007

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


Hello, i did some tests. 

In my systems i have devices:

NODE1:
root at host22446655:~# ls -al /dev/drbd0
brw-r--r--  1 root root 147, 0 Nov 23 15:32 /dev/drbd0
root at host22446655:~# ls -al /dev/sssveB-ashf-11v3-4a33-ixzz-iC81-Spp16p_drbd
brw-r--r--  1 root root 147, 0 Nov 26 10:01
/dev/sssveB-ashf-11v3-4a33-ixzz-iC81-Spp16p_drbd

NODE2:
root at host22446677:~# ls -al /dev/drbd0
brw-r--r--  1 root root 147, 0 Jan  4 05:28 /dev/drbd0
root at host22446677:~# ls -al /dev/sssc7s-dRzb-51O9-9fFy-n5IQ-n4at-bUT2H6_drbd
brw-r--r--  1 root root 147, 0 Jan 11 01:05
/dev/sssc7s-dRzb-51O9-9fFy-n5IQ-n4at-bUT2H6_drbd

On both nodes i typed: drbdadm down all

In both /etc/drbd.conf i use devices, that have LONG names:

NODE1:
...
                device         
"/dev/sssveB-ashf-11v3-4a33-ixzz-iC81-Spp16p_drbd";
...

NODE2:
...
                device         
"/dev/sssc7s-dRzb-51O9-9fFy-n5IQ-n4at-bUT2H6_drbd";
...

then i up both resources and set NODE2 as primary.

root at host22446677:~# drbdadm adjust all
root at host22446677:~# cat /proc/drbd
version: 8.0.6 (api:86/proto:86)
SVN Revision: 3048 build by root at develsystem, 2007-11-23 17:23:17
 0: cs:SyncTarget st:Primary/Secondary ds:Inconsistent/UpToDate C r---
    ns:0 nr:10656 dw:10592 dr:0 al:0 bm:2 lo:3 pe:565 ua:2 ap:0
        [>...................] sync'ed:  1.6% (1037984/1048576)K
        finish: 0:01:36 speed: 10,592 (10,592) K/sec
        resync: used:2/31 hits:1227 misses:2 starving:0 dirty:0 changed:2
        act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0

In this moment i have full resync.

When i afterward use SHORT name devices:
...
                device          "/dev/drbd0";
...

and i type: 

root at host22446677:~# drbdadm adjust all
root at host22446677:~# cat /proc/drbd
version: 8.0.6 (api:86/proto:86)
SVN Revision: 3048 build by root at develsystem, 2007-11-23 17:23:17
 0: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r---
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
        act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0

I don`t have full resync in this case.

Is it possible that it is related to long device names? 

None of devices was changed during the test.

Thanks in advance
Best regards
-- 
View this message in context: http://www.nabble.com/DRBD8-ADJUST-DISCONNECT-tf4860177.html#a13946990
Sent from the DRBD - User mailing list archive at Nabble.com.




More information about the drbd-user mailing list