ok.. I have assigned a whole disk for it (VMware) and mapped the disk from the other node to that specific device, so they have same device name also in /dev/disk/by-id/<device-name>
and they can see each other with sbd -d /dev/sdd list 0 tdtestclu01 clear 1 tdtestclu02 clear On Tue, Apr 9, 2013 at 4:56 PM, Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> wrote: > Hi! > > You don't need a partition if you are willing to donate the whole disk to > sbd. What "sbd create" does is "kind of format" the block storage you > specify. Be careful: Most programs don't recognize that "format" and may > consider the disk to be empty. > > Also make sure that /dev/sdd is the same device during reboots and across > nodes... > > Regards, > Ulrich > > >>> Fredrik Hudner <fredrik.hud...@gmail.com> schrieb am 09.04.2013 um > 16:52 in > Nachricht > <CAFtwCgN9Yq6rpWcZms_QuBKSmOsTN5bigFC_AV1GvP=tw4-...@mail.gmail.com>: > > Oh, So I have to create a partion on the device first ? I thought *sbd > -d > > /dev/sdd create* did that > > > > > > On Tue, Apr 9, 2013 at 4:32 PM, emmanuel segura <emi2f...@gmail.com> > wrote: > > > > > Sorry > > > > > > create a partition on /dev/sdd and you use that > > > > > > > > > 2013/4/9 emmanuel segura <emi2f...@gmail.com> > > > > > > > create a partition on /dev/sdd and you that > > > > > > > > > > > > 2013/4/9 Fredrik Hudner <fredrik.hud...@gmail.com> > > > > > > > >> Hi, > > > >> > > > >> I have a (for now) two node HA cluster with sbd as stonith > mechanism. > > > >> I have followed the installation and configuration of sbd from > > > >> http://www.linux-ha.org/wiki/SBD_Fencing. > > > >> For one reason or another stonith won't start and messages log says > at > > > one > > > >> point: > > > >> > > > >> stonith-ng[20383]: notice: stonith_device_action: Device > stonith_sbd > > > not > > > >> found. > > > >> stonith-ng[30234]: info: stonith_command: Processed st_execute > from > > > >> lrmd: rc=-12 > > > >> stonith-ng[30234]: info: stonith_device_register: Added > > > 'stonith_sbd' > > > >> to the device list (1 active devices) > > > >> stonith-ng[30234]: info: stonith_command: Processed > > > st_device_register > > > >> from lrmd: rc=0 > > > >> stonith-ng[30234]: info: stonith_command: Processed st_execute > from > > > >> lrmd: rc=-1 > > > >> stonith-ng[30234]: notice: log_operation: Operation 'monitor' > [30502] > > > >> for > > > >> device 'stonith_sbd' returned: -2 > > > >> stonith-ng[30234]: info: stonith_device_remove: Removed > > > 'stonith_sbd' > > > >> from the device list (0 active devices) > > > >> > > > >> Maybe it doesn't find the sbd device /dev/sdd ? > > > >> From the output of my logs, you can see that both machines see each > > > others > > > >> sbd device but stonith doesn't seem to recognize the device. > Question is > > > >> why > > > >> > > > >> Attached are all possible logs and config files from drbd, sbd, > > > pacemaker. > > > >> Corosync I can send if you need me too, but the post became to big > with > > > >> that included > > > >> Kind regards > > > >> /Fredrik > > > >> > > > >> _______________________________________________ > > > >> Linux-HA mailing list > > > >> Linux-HA@lists.linux-ha.org > > > >> http://lists.linux-ha.org/mailman/listinfo/linux-ha > > > >> See also: http://linux-ha.org/ReportingProblems > > > >> > > > > > > > > > > > > > > > > -- > > > > esta es mi vida e me la vivo hasta que dios quiera > > > > > > > > > > > > > > > > -- > > > esta es mi vida e me la vivo hasta que dios quiera > > > _______________________________________________ > > > Linux-HA mailing list > > > Linux-HA@lists.linux-ha.org > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > > See also: http://linux-ha.org/ReportingProblems > > > > > _______________________________________________ > > Linux-HA mailing list > > Linux-HA@lists.linux-ha.org > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > > > > > > > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems