[DRBD-user] drbdsetup-8.3 not compatible with drbdsetup 8.3 ?

Brian Candler b.candler at pobox.com
Thu Apr 24 17:10:56 CEST 2014

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


drbd 8.4.x contains compatibility executables drbdsetup-83 and 
drbdadm-83, which are exec()'d if the userland detects that the kernel 
is running drbd 8.3.

However there is a case where this doesn't seem to be compatible.

"ganeti" issues the following drbdsetup command:

drbdsetup /dev/drbd2 disk 
/dev/xenvg/a614fd3b-d016-44a1-a6d6-c51334190757.disk0_data 
/dev/xenvg/a614fd3b-d016-44a1-a6d6-c51334190757.disk0_meta 0 -e detach 
--create-device -d 1024m

This is accepted (silently, exitcode 0) by drbdsetup from 8.3.10. It's 
also accepted if you pass it explicitly to /lib/drbd/drbdsetup-83.

However if you pass this to drbdsetup in 8.4 it is rejected with a 
"USAGE: drbdsetup command device arguments options" error. So the 
frontend drbdsetup is rejecting this command *before* giving it to 
drbdsetup-83.

Regards,

Brian.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20140424/65613e99/attachment.htm>


More information about the drbd-user mailing list