[Drbd-dev] DRBD8: ASSERT( mdev->bc->md.uuid[Bitmap] == 0 ) in drbd_main.c:drbd_uuid_new_current()

Philipp Reisner philipp.reisner at linbit.com
Wed Aug 1 17:07:50 CEST 2007


On Tuesday 31 July 2007 23:18:05 Montrose, Ernest wrote:
> Hi all,
> We are seeing another problem that occurs with the following sequence of
> events:
> drbdadm secondary vm2.root.fs
> drbdadm detach vm2.root.fs
> drbdadm primary vm2.root.fs
> drbdadm secondary vm2.root.fs
> drbdadm primary vm2.root.fs <----- This causes the assert
> drbdadm attach vm2.root.fs  <------ This causes an instant Split brain
> but only because of the assert above.
>
> I think what's happening is that we are generating a new bitmap UUID
> every time the diskless peer goes Primary.
> I see no reason why we have to do this more then once.  I include a tiny
> patch to do it just one time.
>

You are absolutely right.

http://lists.linbit.com/pipermail/drbd-cvs/2007-August/001612.html

-Phil
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com :


More information about the drbd-dev mailing list