[DRBD-user] Unable to initiate sync, drbd 8.3.2, CentOS 5.4

Keith Christian keith1christian at gmail.com
Tue May 25 00:24:16 CEST 2010

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


I've followed a few threads mentioning clearing the bitmap on machines
with new installs and no need to save existing data.

The primary (server-a) reported that it is the Secondary refused to
become the primary (Lines 14 - 18) and I'm not sure what
"Unconfigured" means from the secondary's "service drbd status" output
(Line 35.)

What does "Device does not have a disk-config" mean on Line 6?
Couldn't find any meaningful info from searching the WWW.

Could someone offer suggestions to initiate the sync between these
new, pre-production servers?


=====Keith


    1  =====COMMAND OUTPUT ON SERVER-A=====
    2  (root at server-a) ~/system-setup>lsmod | grep drbd
    3  drbd                  220440  2
    4
    5  (root at server-a) ~/system-setup>drbdadm -- --clear-bitmap
new-current-uuid drbd-resource-0
    6  0: Failure: (138) Device does not have a disk-config
    7  Command 'drbdsetup 0 new-current-uuid --clear-bitmap'
terminated with exit code 10
    8
    9  (root at server-a) ~/system-setup>service drbd status
   10  drbd driver loaded OK; device status:
   11  version: 8.3.2 (api:88/proto:86-90)
   12  GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by
mockbuild at v20z-x86-64.home.local, 2009-08-29 14:02:24
   13  m:res              cs            ro                 ds
      p  mounted  fstype
   14  0:drbd-resource-0  WFConnection  Secondary/Unknown  Diskless/DUnknown  C
   15
   16  (root at server-a) ~/system-setup>drbdadm primary drbd-resource-0
   17  0: State change failed: (-2) Refusing to be Primary without at
least one UpToDate disk
   18  Command 'drbdsetup 0 primary' terminated with exit code 17
   19
   20
   21
   22  =====COMMAND OUTPUT ON SERVER-B=====
   23  (root at server-b) ~/system-setup>lsmod | grep drbd
   24  drbd                  220440  0
   25
   26  (root at server-b) ~/system-setup>drbdadm -- --clear-bitmap
new-current-uuid drbd-resource-0
   27  0: Failure: (138) Device does not have a disk-config
   28  Command 'drbdsetup 0 new-current-uuid --clear-bitmap'
terminated with exit code 10
   29
   30  (root at server-b) ~/system-setup>service drbd status
   31  drbd driver loaded OK; device status:
   32  version: 8.3.2 (api:88/proto:86-90)
   33  GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by
mockbuild at v20z-x86-64.home.local, 2009-08-29 14:02:24
   34  m:res              cs            ro  ds  p  mounted  fstype
   35  0:drbd-resource-0  Unconfigured



More information about the drbd-user mailing list