From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Philipp Reisner To: drbd-dev@lists.linbit.com Subject: Re: [Drbd-dev] DRBD8: ASSERT( mdev->bc->md.uuid[Bitmap] == 0 ) in drbd_main.c:drbd_uuid_new_current() Date: Wed, 1 Aug 2007 17:07:50 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708011707.51055.philipp.reisner@linbit.com> Cc: "Montrose, Ernest" List-Id: Coordination of development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 :