[DRBD-user] drbdsetup terminated with exit code 20

En Zhu enzhu at yahoo.com
Thu Nov 29 22:05:53 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.


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!

n0 ].

The program hangs there waiting for other node.
When the other node came up, both finished right away.
 Is that the right?  I checked log file:

Nov 29 15:35:38 localhost kernel: drbd0: conn(
StandAlone -> Unconnected )
Nov 29 15:35:38 localhost kernel: drbd0: receiver
(re)started
Nov 29 15:35:38 localhost kernel: drbd0: conn(
Unconnected -> WFConnection )
Nov 29 15:35:38 localhost kernel: drbd0: conn(
WFConnection -> WFReportParams )
Nov 29 15:35:39 localhost kernel: drbd0: Handshake
successful: Agreed network protocol version 87
Nov 29 15:35:39 localhost kernel: drbd0:
data-integrity-alg: <not-used>
Nov 29 15:35:39 localhost kernel: drbd0: some backing
storage is needed
Nov 29 15:35:39 localhost kernel: drbd0: conn(
WFReportParams -> Disconnecting )
Nov 29 15:35:39 localhost kernel: drbd0: error
receiving ReportSizes, l: 32!
Nov 29 15:35:39 localhost kernel: drbd0: meta
connection shut down by peer.
Nov 29 15:35:39 localhost kernel: drbd0: asender
terminated
Nov 29 15:35:39 localhost kernel: drbd0: tl_clear()
Nov 29 15:35:39 localhost kernel: drbd0: Connection
closed
Nov 29 15:35:39 localhost kernel: drbd0: conn(
Disconnecting -> StandAlone )
Nov 29 15:35:39 localhost kernel: drbd0: receiver
terminated
Nov 29 15:35:39 localhost kernel: drbd0:
drbd_bm_resize called with capacity == 0
Nov 29 15:35:39 localhost kernel: drbd0: worker
terminated

Here is my drbd.conf:
resource drbd-resource-0 {
  protocol C;
  disk {
    on-io-error panic;
  }
  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];
  }
}

I tried to put meta-disk in internal also, it's the
same.  All disk partitions are correct also.  Could
you let me know why it doesn't work?  Thank you very
much.

En



More information about the drbd-user mailing list