[DRBD-user] initial setup of drbd (kernel 2.6.7, drbd 0.7.0)

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Jul 23 14:26:11 CEST 2004

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


/ 2004-07-23 13:55:52 +0200
\ Martin Bene:
> Hi Lars,
> 
> > > Timeout on initialising the internal metadata while resync 
> > > is already
> > > running (and this slowing things down) on the 1st device?
> > 
> > yes, this may be the cause.
> > you happen to use the same underlying physical devices?
> 
> Yes, same phys. device for all 4 partitions (web, two databases,
> test/experimaental fuzz) Several drbd devices needed for independent
> failover/failback. 

ok. that explains part of it.

as a work around, it may (or may not) help to don't do
 drbdadm up all
when you first create the devices,
but to do it in two steps:
 both nodes:
  this will initialise the meta data blocks
  # drbdadm attach all
  and here you go into connected mode, resync starts (?)
  # drbdadm connect all 
 choose the primary node:
  # drbdadm primary all
  now, if this was creating the devices for the first time,
  resync at (?) will not start, but complain about "both nodes
  inconsistent".
  and the primary all in the previous step will fail, too,
  complaining about "no good data" or something.
  then you have to
  # drbdadm -- --do-what-I-say primary all
  and it will make it primary, and resync will start.

	lge
  



More information about the drbd-user mailing list