[DRBD-user] fence-peer helper broken, returned 20

Thomas Hänig haenig at cosifan.de
Fri Feb 22 13:59:29 CET 2013

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


Hi,
I am new here too, but while playing with a helper I saw nearly the same
message:

Feb 22 12:45:09 node1 kernel: [  822.982568] d-con drbd_test: helper
command: /sbin/drbdadm fence-peer drbd_test exit code 0 (0x0)
Feb 22 12:45:09 node1 kernel: [  822.982571] d-con drbd_test: fence-peer
helper broken, returned 0

This part simply means "return code 0 of the helper script is not
expected/invalid". In your case this would be the value 20 (0x1400)

for return codes see:
http://www.drbd.org/users-guide/s-fence-peer.html

I am not shure if fence-peer and oudate-peer are synonyms. My version's
(8.4) man page says "... fence-peer (formerly oudate-peer) ...". Maybe
simply changing the name within the handlers section will help.


Thomas

Am 22.02.2013 13:34, schrieb Anoop:
> Can anyone help me please ..
> 
> 
> On 2/19/2013 10:54 AM, Anoop wrote:
>> Hi all,
>>         I am new to drbd. I have the following error when try
>> automatic failover with heartbeat.  dopd is not working fine. Please
>> help.
>>
>> Feb 19 13:46:57 passive kernel: block drbd1: helper command:
>> /sbin/drbdadm fence-peer minor-1 exit code 20 (0x1400)
>> Feb 19 13:46:57 passive kernel: block drbd1: fence-peer helper broken,
>> returned 20
>> Feb 19 13:46:57 passive kernel: block drbd1: State change failed: Need
>> access to UpToDate data
>>
>> Please find the drbd.conf file
>>
>> #
>> global {
>> usage-count no;
>> }
>> common {
>> protocol C;
>> handlers {
>> outdate-peer "/usr/lib64/heartbeat/drbd-peer-outdater";
>> }}
>>
>> resource r0 {
>> on active.drbd.com {
>> device /dev/drbd1;
>> disk /dev/sda3;
>> address 192.168.29.25:7789;
>> meta-disk internal;
>>
>> }
>> on passive.drbd.com {
>> device /dev/drbd1;
>> disk /dev/sda3;
>> address 192.168.29.27:7789;
>> meta-disk internal;
>> }
>> disk {
>> fencing resource-only;
>> }
>> }
>>
>>
>> Thanks and Regards
>> Anoop Mohan
>>
> 
> 


-- 
Mit freundlichen Gruessen
Dipl.-Inf. Thomas Haenig

CosiFan Computersysteme GmbH
Melscherstr. 1
04299 Leipzig

eMail: haenig at cosifan.de
Tel.: +49 341 8686333
Fax: +49 341 8686335



More information about the drbd-user mailing list