[DRBD-user] Cannot run " drbdsetup /dev/nb0 primary"!

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Jul 20 06:40:35 CEST 2004

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


/ 2004-07-20 10:08:50 +0800
\ ??????:
> drbd-user????????
> 
>    Two Node is : NODE1-->10.1.1.11 NODE2-->10.1.1.12 
>    Drbd ver: drbd-0.7_pre10
> My question is: after the following operations, I run #drbesetup
> /dev/nb0 primary, It will hang there forever.. And also when #mkfs -b
> 4096 /dev/nb0.. It will hang up .....
> 
>   What is the problem.. 
> 
> 	NODE1:~ # /etc/init.d/drbd start
> Starting DRBD resources:    [r0].
> ***************************************************************
>  DRBD's startup script waits for the peer node(s) to appear.
>  - In case this node was already a degraded cluster before the
>    reboot the timeout is 120 seconds. [degr-wfc-timeout]
>  - If the peer was available before the reboot the timeout will
>    expire after 0 seconds. [wfc-timeout]
>    (These values are for resource 'r0'; 0 sec -> wait forever)
>  To abort waiting enter 'yes' [ -- ]:[   3]:[   4]:[   5]:[   6]:
> NODE1:~ # cat /proc/drbd 
> version: 0.7-pre10 cvs $Date: 2004/07/08 08:30:00 $ (api:74/proto:73)
> 
>  0: cs:SyncSource st:Secondary/Secondary ld:Consistent
>     ns:140 nr:0 dw:0 dr:1024 al:0 bm:0 lo:0 pe:12 ua:221 ap:0
>         [>...................] sync'ed:  0.1% (1700240/1700336)K
>         finish: 66:07:13 speed: 6 (6) K/sec

a sync speed of "6KB/sec" indicates that there probably already is a
problem right here.

please
 try with drbd-0.7.0 or current svn source
 give your kernel version
 look in syslog (/var/log/messages, or wherever your kernel messages go)
 for drbd related messages.

	Lars Ellenberg



More information about the drbd-user mailing list