[DRBD-user] drbdsetup demands the use of drbdadm

Martin Fick mogulguy at yahoo.com
Tue May 9 17:19:42 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.


Thanks, I'll remember that.

I downgraded to the .7 series and it seems to working
fine now.

-Martin

--- Diego Julian Remolina
<diego.remolina at ibb.gatech.edu> wrote:

> Not sure if you already went through this, but it
> may help you find out where the problem is.
> 
> drbdadm -d adjust RESOURCE_NAME
> 
> This will show you what is needed to actually get
> drbd ready to work according to your drbd.conf.
> 
> [root at sauron /]# drbdadm -d adjust export
> /sbin/drbdsetup /dev/drbd0 disk /dev/sdb1 /dev/sdb3
> 0 --on-io-error=detach
> /sbin/drbdsetup /dev/drbd0 syncer --rate=60M
> --group=1 --al-extents=257
> /sbin/drbdsetup /dev/drbd0 net 10.0.0.21:7789
> 10.0.0.22:7789 C
> 
>  From the sample above you can then try running each
> one of the commands by hand to try to figure 
> out which is failing.
> 
> /sbin/drbdsetup /dev/drbd0 disk /dev/sdb1 /dev/sdb3
> 0 --on-io-error=detach
> /sbin/drbdsetup /dev/drbd0 syncer --rate=60M
> --group=1 --al-extents=257
> /sbin/drbdsetup /dev/drbd0 net 10.0.0.21:7789
> 10.0.0.22:7789 C
> 
> HTH,
> 
> Diego
> 
> Martin Fick wrote:
> > I am attempting to setup drbd on debian unstable,
> it
> > reports version .8pre2.  Since I cannot get it to
> > work, I am attempting to break things down into
> > smaller pieces.  To do this, I am attempting to
> use
> > dbbd setup.  If I understand things properly, drbd
> > setup is the low level user interface and it
> should
> > not ever look at drbd.conf right?
> > 
> > When I run it to attpemt to setup a device it
> > complains about the meta-data area needing to be
> > intialized (or something like that, I'm sorry I'm
> at
> > work and don't have access to the box right now
> for
> > the exact error message).  The kicker is that the
> > error message tells me to run drbdadm create-md
> res
> > (that was drbdadm,not drbdsetup!).  Now this seems
> > strange to me since it seems like drbadm runs off
> of
> > drbd.conf.  Is there a way to do this 'create-md'
> step
> > manually on a device without having to reference
> the
> > drbd.conf file?
> > 
> > 
> > This 'drbdadm create-md res' command isn't
> documented
> > on this page:
> >
>
http://www.drbd.org/fileadmin/drbd/doc/0.7.0/en/drbdadm.html
> > What is the 'res' part supposed to be?
> > 
> > -Martin
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the drbd-user mailing list