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 <[email protected]> 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 <[email protected]> wrote:
> 
> > Sorry
> >
> > create a partition on /dev/sdd and you use that
> >
> >
> > 2013/4/9 emmanuel segura <[email protected]>
> >
> > > create a partition on /dev/sdd and you that
> > >
> > >
> > > 2013/4/9 Fredrik Hudner <[email protected]>
> > >
> > >> 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
> > >> [email protected] 
> > >> 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
> > [email protected] 
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha 
> > See also: http://linux-ha.org/ReportingProblems 
> >
> _______________________________________________
> Linux-HA mailing list
> [email protected] 
> http://lists.linux-ha.org/mailman/listinfo/linux-ha 
> See also: http://linux-ha.org/ReportingProblems 
> 

 
 

_______________________________________________
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