Hi,

I have this problem, when I run the STONITH plugin external/sbd, in debug
mode I see this lines:

 

Apr 30 10:34:00 clover-h stonithd: [12619]: info: external_run_cmd: Calling
'/usr/lib64/stonith/plugins/external/sbd status' returned 256

Apr 30 10:34:00 clover-h stonithd: [12619]: CRIT: external_status: 'sbd
status' failed with rc 256

Apr 30 10:34:00 clover-h stonithd: [7574]: WARN: start
stonith_external_sbd_LOCK_LUN failed, because its hostlist is empty

 

I check the script "/usr/lib64/stonith/plugins/external/sbd" for case
"status" and I notice this line:

 

sbd -d $sbd_device ping $N                            "on line 43 of script"

 

but the command "ping" for sbd daemon do not exit

 

------------------------------------

/usr/sbin/sbd -h

 

Shared storage fencing tool.

Syntax:

        sbd <options> <command> <cmdarguments>

Options:

-d <devname>    Block device to use (mandatory)

-h              Display this help.

-n <node>       Set local node name; defaults to uname -n (optional)

 

-W              Use watchdog (recommended) (watch only)

-w <dev>        Specify watchdog device (optional) (watch only)

-D              Run as background daemon (optional) (watch only)

 

-1 <N>          Set watchdog timeout to N seconds (optional) (create only)

-2 <N>          Set slot allocation timeout to N seconds (optional) (create
only)

-3 <N>          Set daemon loop timeout to N seconds (optional) (create
only)

-4 <N>          Set msgwait timeout to N seconds (optional) (create only)

Commands:

create          initialize N slots on <dev> - OVERWRITES DEVICE!

list            List all allocated slots on device, and messages.

dump            Dump meta-data header from device.

watch           Loop forever, monitoring own slot

allocate <node>

                Allocate a slot for node (optional)

message <node> (test|reset|off|clear|exit)

                Writes the specified message to node's slot.

-----------------------------------------------

 

the right commands are: create list dump watch allocate message.

 

Can anyone help me?

 

Thanks you in advance,

Best regards.

 

Nicola

 

<<image001.jpg>>

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to