[DRBD-user] Issue creating volume with drbdmanage in 9.0.4/8.9.8

John Colgrave colgrave at uk.ibm.com
Wed Sep 7 15:30:46 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.


I am using the Ubuntu PPA to install DRBD.

I have been running through a scenario a number of times over the last 
couple of days and it has been working fine. When I tried it today having 
picked up the new release I am seeing a problem when I try and create a 
volume.

I have three nodes and the scenario I am going through is:
drbdmanage init on one node
drbdmanage add-node for the second node
run the generated command on the second node (I have not set up ssh 
without passwords)
drbdmanage add-node for the third node
run the generated command on the third node

Running drbdmanage list-nodes produces:
+------------------------------------------------------------------------------+
| Name          | Pool Size | Pool Free |                              | 
State |
|------------------------------------------------------------------------------|
| ip-10-0-1-66  |     26620 |     26612 |                              |  
ok |
| ip-10-0-2-66  |     26620 |     26612 |                              |  
ok |
| ip-10-0-3-151 |     26620 |     26612 |                              |  
ok |
+------------------------------------------------------------------------------+


So far, so good.

The next step is to run:
drbdmanage add-volume QM1 3GB --deploy 3

Before today, running drbdmanage list-assignments after that looked OK but 
now when I run it I get:
+------------------------------------------------------------------------------+
| Node          | Resource | Vol ID |    | State |
|------------------------------------------------------------------------------|
| ip-10-0-1-66  | QM1      |      * |    | FAILED(3), pending actions: 
connect |
| ip-10-0-1-66  | QM1      |      0 |    |             pending actions: 
attach |
| ip-10-0-2-66  | QM1      |      * |    | FAILED(3), pending actions: 
connect |
| ip-10-0-2-66  | QM1      |      0 |    |             pending actions: 
attach |
| ip-10-0-3-151 | QM1      |      * |    | FAILED(3), pending actions: 
connect |
| ip-10-0-3-151 | QM1      |      0 |    |             pending actions: 
attach |
+------------------------------------------------------------------------------+

Running dmesg, I see a number of messages like:
drbd .drbdctrl: State change failed: Peer may not become primary while 
device is opened read-only

Regards, John Colgrave
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20160907/4a416633/attachment.htm>


More information about the drbd-user mailing list