[DRBD-user] Unable to change role from Secondary to Primary

Badge Parag-G19470 paragb at motorola.com
Fri Jul 14 08:28:14 CEST 2006

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


Hello,
We are facing this problem with DRBD 0.7.17.
 
After Primary node goes down (it completely removed from the cluster),
we are changing role of Secondary to Primary. But Secondary is rejecting
this role change. We are getting following error:
 
ioctl(,SET_STATE,) failed: Permission denied
Partner is already primary
Command '/sbin/drbdsetup /dev/drbd0 primary --do-what-I-say' terminated
with exit code 20
 
We have put retry mechanism in role change. We keep retrying for 10
seconds with the interval of 2 seconds. Still we get same error. 
 
We use ping interval 2 seconds.
 
Could you please tell us why this role change is failing. (This problem
comes pretty often. 2 out of 10 times)
 
I really appreciate any help.
Thanks and regards,
Parag.
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20060714/2d6212d3/attachment.htm>


More information about the drbd-user mailing list