[DRBD-user] How to detach the DRBD Block Device.

Takeshi Yahagi yahagi at tgi.co.jp
Fri Apr 22 04:15:42 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.


This is Yahagi(TGI).

I use DRBD v8.3.15, now.

I want to detach the DRBD lower device.

But, command 
  "drbdadm disconnect <DRBD device>
   drbdadm detach <DRBD device>"
is not success.

Error Message from the command "drbdadm detach" is below
0: State change failed: (-2) Need access to UpToDate data
Command 'drbdsetup 0 detach' terminated with exit code 17

I want to know the completed command sequence for detach the block device.


More information about the drbd-user mailing list