[DRBD-user] drbdsetup terminated with exit code 20

Lars Ellenberg lars.ellenberg at linbit.com
Fri Nov 30 11:28:38 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 Thu, Nov 29, 2007 at 01:05:53PM -0800, En Zhu wrote:
> Hello everyone,
> 
> I was able to install DRBD, but I still have problem
> to start it on Federa 7.
> 
> [root at dual /]# service drbd start
> Starting DRBD resources:    [ d0 Handler not known
> 
> cmd /sbin/drbdsetup /dev/drbd0 disk /dev/sda10
> /dev/sda9 0 --set-defaults --create-device
> --on-io-error=panic  failed - continuing!

there is no more panic handler.
you don't want to use "pass_on" either, even though you could.
just leave that "on-io-error" thing at its default, "detach".

yes, sorry the error message could be better.
and we probably should not continue to configure the network,
when attaching the disk failed due to misconfiguration.

> Nov 29 15:35:39 localhost kernel: drbd0: some backing
> storage is needed

right. you don't have a lower level device,
since attaching failed.  if you connect two diskless drbd, they will
tell you that they need some backing store, and disconnect again.
> resource drbd-resource-0 {
>   protocol C;
>   disk {
>     on-io-error panic;

# replace this with
      on-io-error detach;
or just leave it off.

>   }
>   syncer {
>     rate 10M; # Note: 'M' is MegaBytes, not MegaBits
>   }
>   on tiger {
>     device    /dev/drbd0;
>     disk      /dev/mapper/isw_dbiabafjji_Volume0p11;
>     address   192.168.0.77:7789;
>     meta-disk 
> /dev/mapper/isw_dbiabafjji_Volume0p10[0];
>   }
>   on dual {
>     device    /dev/drbd0;
>     disk      /dev/sda10;
>     address   192.168.0.90:7789;
>     meta-disk  /dev/sda9[0];
>   }
> }

-- 
: Lars Ellenberg                            Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :



More information about the drbd-user mailing list