[DRBD-user] DRBD Fails to start

Kavan Smith kavan at linbit.com
Wed Dec 31 01:59:22 CET 2008

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


Hi Alireza,

Alireza Nematollahi wrote:
> Hi all,
> 
>  
> 
> When I try to start DRBD, I get:
> 
> root at localhost> /etc/init.d/drbd start
> 
> Starting DRBD resources:    [ d(drbd0) No response from the DRBD driver!
> Is the module loaded?
> 
>  
> 
> [drbd0] cmd /sbin/drbdsetup /dev/drbd0 disk /dev/md0
> /dev/RBIgeokh/RBNMDraid11vol01 0 --set-defaults --create-device
> --on-io-error=call-local-io-error  failed - continuing!
> 
>  
> 
> s(drbd0) No response from the DRBD driver! Is the module loaded?
> 
>  
> 
> [drbd0] cmd /sbin/drbdsetup /dev/drbd0 syncer --set-defaults
> --create-device --rate=300M --al-extents=257 --verify-alg=crc32c  failed
> - continuing!
> 
>  
> 
> n(drbd0) No response from the DRBD driver! Is the module loaded?
> 
>  
> 
> [drbd0] cmd /sbin/drbdsetup /dev/drbd0 net 127.0.204.1:7788
> 127.0.202.1:7788 C --set-defaults --create-device --max-buffers=5000 
> failed - continuing!
> 
>  
> 

> 
>  
> 
> root at localhost> cat /proc/drbd
> 
> version: 8.2.6 (api:88/proto:86-88)
> 
> GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by
> wweston at winlx-1, 2008-12-30 12:32:31
> 
>  0: cs:Unconfigured
> 
>  
> 
> And that’s it. Nothing else happens on this node.
> 
>  
> 
> However, on the other node, I get the same error message, but the
> resource comes up:
> 
>  
> 
> root at localhost> /etc/init.d/drbd start
> 
> Starting DRBD resources:    drbd0: No usable activity log found.
> 
> [ d(drbd0) s(drbd0) /dev/drbd0: Failure: (146) VERIFYAlgNotAvailPort 4
> receive error code 8, packet dropped
> 
>  
> 
> [drbd0] cmd /sbin/drbdsetup /dev/drbd0 syncer --set-defaults
> --create-device --rate=300M --al-extents=257 --verify-alg=crc32c  failed
> - continuing!
> 
>  
> 
> n(drbd0) ].
> 
> ..
> 
> root at localhost> cat /proc/drbd
> 
> version: 8.2.6 (api:88/proto:86-88)
> 
> GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by
> wweston at winlx-1, 2008-12-30 12:32:31
> 
>  0: cs:WFConnection st:Unknown/Unknown ds:Inconsistent/DUnknown C r---
> 
>     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 oos:10485696
> 
>  
> 
> Can someone please tell me what is wrong?
> 
>  
> 
> Thanks
> 
>  
> 
> P.S. my drbd.conf is :
> 
> global {
> 
>   usage-count no;
> 
> }
> 
> resource drbd0 {
> 
>   protocol C;
> 
>       startup {
> 
>           wfc-timeout 10;
> 
>           degr-wfc-timeout 10;
> 
> }
> 
>   disk {
> 
>       on-io-error call-local-io-error;
> 
> }
> 
>   syncer {
> 
>       rate 300M;
> 
>       al-extents 257;
> 
>       verify-alg crc32c;
> 
> }
> 
>   net {
> 
>       max-buffers 5000;
> 
> }
> 
> on localhost {
> 
>   device /dev/drbd0;
> 
>   disk /dev/md0;
> 
>   address 127.0.204.1:7788;
> 
>   meta-disk /dev/RBIgeokh/RBNMDraid11vol01[0];
> 
> }
> 
> on fssb4 {
> 
>   device /dev/drbd0;
> 
>   disk /dev/md0;
> 
>   address 127.0.202.1:7788;
> 
>   meta-disk /dev/RBIgeokh/RBNMDraid11vol01[0];
> 
> }
> 
> }

Let's start by checking your ip addresses.  Loopback addresses are not
valid as you would not be communicating to the other DRBD node.

Repair this part of your configuration and you will be on your way to
success.

Good luck,
-Kavan

-- 
: Kavan Smith
: LINBIT | Your Way to High Availability
:
: http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.




More information about the drbd-user mailing list