[DRBD-user] DRDB9 secondary is diskless and failed: No such file or directory

Jason Romo jason at securityarsenal.com
Fri May 13 01:51:45 CEST 2016

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


Hello all new to the group,

DRBD9 was working just fine.  I moved servers to the datacenter after a few weeks of testing.  I loaded two VMs and I thought they had synced.  I guess they didn’t.  The primary is fine.  I have since added new images to the primary but not being passed. I guess due to the error on the two resources in diskless state. The secondary in this state:


VE1 is primary
VE2 is secondary

VE1> says connecting for all resources, but volumes are UpToDate.  Guess it is due to the errors on the secondary.

VE2> drbdadm status

.drbdctrl role:Secondary
  volume:0 disk:UpToDate
  volume:1 disk:UpToDate
  ve1 role:Primary
    volume:0 peer-disk:UpToDate
    volume:1 peer-disk:UpToDate

vm-102-disk-1 role:Secondary
  disk:Diskless

vm-107-disk-1 role:Secondary
  disk:Diskless



I tried to disconnect and adjust, disconnect and —force down, up.  I just get this error:

VE2: adjust
open(/dev/drbdpool/vm-102-disk-1_00) failed: No such file or directory
Command 'drbdmeta 100 v09 /dev/drbdpool/vm-102-disk-1_00 internal apply-al' terminated with exit code 20
open(/dev/drbdpool/vm-107-disk-1_00) failed: No such file or directory
Command 'drbdmeta 101 v09 /dev/drbdpool/vm-107-disk-1_00 internal apply-al' terminated with exit code 20


VE2: connect all
.drbdctrl: Failure: (125) Device has a net-config (use disconnect first)
Command 'drbdsetup connect .drbdctrl 0' terminated with exit code 10
vm-102-disk-1: Failure: (162) Invalid configuration request
additional info from kernel:
unknown connection
Command 'drbdsetup connect vm-102-disk-1 1' terminated with exit code 10
vm-107-disk-1: Failure: (162) Invalid configuration request
additional info from kernel:
unknown connection
Command 'drbdsetup connect vm-107-disk-1 1' terminated with exit code 10

I don’t have any resources on the secondary.  So If there is a way to just have it drop it all and pull from primary again that works.  Or how can I repair this state so I can get the secondary to pull the other images.  

Thanks again for any advice,
Jason






















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20160512/571c87c5/attachment.htm>


More information about the drbd-user mailing list