[DRBD-user] DRBD8 ADJUST&DISCONNECT

Lars Ellenberg lars.ellenberg at linbit.com
Mon Nov 26 11:22:29 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.


On Mon, Nov 26, 2007 at 02:07:31AM -0800, yataman wrote:
> 
> 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? 

I don't think so.
maybe the resync was just finished?

-- 
: commercial DRBD/HA support and consulting: sales at linbit.com :
: Lars Ellenberg                            Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list