[DRBD-user] Changing from protocol C to protocol A

Lars Ellenberg lars.ellenberg at linbit.com
Wed Jun 24 21:41:02 CEST 2009

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


On Wed, Jun 24, 2009 at 11:31:14AM -0600, Sam Howard wrote:
> Hi.
> I've been trying to find some way to change the protocol of a DRBD device,
> and have been getting stuck every time:
> 
> root at xen-80-31-00:/etc/xen/guests# drbdadm disconnect build-hardy-x64-root
> root at xen-80-31-00:/etc/xen/guests# drbdadm adjust build-hardy-x64-root
> 22: Failure: (139) Protocol C required
> Command 'drbdsetup 22 net 10.99.99.200:7722 10.99.99.100:7722 A
> --set-defaults --create-device --allow-two-primaries' terminated with exit
> code 10
> root at xen-80-31-00:/etc/xen/guests# drbdadm down build-hardy-x64-data
> root at xen-80-31-00:/etc/xen/guests# drbdadm down build-hardy-x64-root
> root at xen-80-31-00:/etc/xen/guests# drbdadm adjust build-hardy-x64-root
> 22: Failure: (139) Protocol C required
> Command 'drbdsetup 22 net 10.99.99.200:7722 10.99.99.100:7722 A
> --set-defaults --create-device --allow-two-primaries' terminated with exit
> code 10

but it should be obvious that two-primaries
requires synchronous replication, thus protocol C.

though it is not explicitly mentioned in the man pages.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list