[DRBD-user] DRBD8 ADJUST&DISCONNECT

yataman raveen at tlen.pl
Fri Nov 23 08:53:57 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.


Hi All,

I've got couple of questions related to drbd8 (exactly 8.0.6).

I have configured replication task in Primary/Secondary mode.

Print of cat /proc/drbd

1:cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r---
   ns:96 nr:0 dw:677 dr:55425 al:0 bm:23 lo:0 pe:0 ua:0 ap:0
       resync: used:0/31 hits:3342 misses:14 starving:0 dirty:0 changed:14
       act_log: used:0/127 hits:109 misses:0 starving:0 dirty:0 changed:0

Then I executed drbdadm adjust:

# drbdadm adjust resource
# cat /proc/drbd
version: 8.0.6 (api:86/proto:86)
SVN Revision: 3048 build by root at develsystem, 2007-11-22 16:43:54
 1: cs:SyncTarget st:Primary/Secondary ds:Inconsistent/UpToDate C r---
   ns:0 nr:13504 dw:13504 dr:0 al:0 bm:32 lo:1 pe:225 ua:2 ap:0
       [>...................] sync'ed:  1.0% (2083712/2097152)K
       finish: 0:02:33 speed: 13,440 (13,440) K/sec
       resync: used:2/31 hits:1065 misses:2 starving:0 dirty:0 changed:2
       act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0

As you can see, full synchronization was started.
Is it normal behavior? In drbd 0.7  I haven't met with situation.
Additionally in drbd 0.7 i can execute adjust when nodes are disconnected.

And the second questions. Is it possible to terminate synchronization?
After execution of drbdadm disconnect I got an error:

# drbdadm disconnect resource
State change failed: (-2) Refusing to be Primary without at least one
UpToDate disk
Command 'drbdsetup /dev/drbd1 disconnect' terminated with exit code 11

Thanks in advance for your help
Best Regards

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




More information about the drbd-user mailing list