Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Tijs Van Buggenhout <tvb@able.be>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] DRBD 8.4.3 : create-md possibly broken for fixed sized (shared) meta devices
Date: Thu, 07 Mar 2013 16:54:42 +0100	[thread overview]
Message-ID: <1452163.IjCXaMLILp@itsj> (raw)
In-Reply-To: <20130307093137.GA21005@soda.linbit>

On Thursday 07 March 2013 10:31:37 Lars Ellenberg wrote:
> On Wed, Mar 06, 2013 at 03:24:36PM +0100, Tijs Van Buggenhout wrote:
> > Hi,
> > 
> > I recently installed drbd 8.4.3 packages and ran into problems when trying
> > to create a drbd resource using fixed size drbd meta device ided by an
> > index. Investigating further, it seems that when using a flexible meta
> > disk, there is no problem whatsoever.
> > I also used the same configuration file/set of commands on the previous
> > version (8.4.2) for fixed size meta-disk, which worked without problems.
> > 
> > The following excerpt from the console log shows how I first create a drbd
> > resource (drbd0) with flexible meta disk (/dev/lv/drbd-meta-84).
> > Afterwards I undo the configuration, and try to do the same for fixed
> > drbd meta disk, which fails (every time). Then I roll back to the
> > previous version of drbd utils/module, and try the setup with fixed drbd
> > meta disk again, which succeeds.
> > 
> > resource drbd0 {
> > 
> >         on master.domain.com {
> >         
> >                 device /dev/drbd0;
> >                 disk /dev/lv/data;
> >                 address 172.16.1.179:7788;
> >                 meta-disk /dev/lv/drbd-meta-84 [0];
> > 
> > (master.domain.com):~# dd if=/dev/zero of=/dev/lv/drbd-meta-84
> > bs=$[1024*1024] (master.domain.com):~# modprobe drbd
> > (master.domain.com):~# cat /proc/drbd
> > version: 8.4.3 (api:1/proto:86-101)
> > GIT-hash: 89a294209144b68adb3ee85a73221f964d3ee515 build by root@build,
> > 2013-03-05 15:10:01
> > (master.domain.com):~# drbdsetup new-resource drbd0
> > (master.domain.com):~# drbdsetup new-minor drbd0 /dev/drbd0 0
> > (master.domain.com):~# drbdadm create-md drbd0 -vvvvvvvvvv
> > (master.domain.com):~# drbdadm attach drbd0
> > 0: Failure: (119) No valid meta-data signature found.
> > 
> >         ==> Use 'drbdadm create-md res' to initialize meta-data area. <==
> 
> D'oh.
> That is embarrassing.
> 
> I wonder why the regression tests using "old style indexed fixed size
> external meta data" have not been exercised.
> 
> http://git.drbd.org/gitweb.cgi?p=drbd-8.4.git;a=commitdiff;h=82cf5feada2e4d0
> f536af5f6f377bd0f3fac1236
> 
> Thanks,

Patch is working, thanks for the quick response/fix!

Is a new release of drbd 8.4 series to be expected in the near future?

Regards,
Tijs

      reply	other threads:[~2013-03-07 15:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-06 14:24 [Drbd-dev] DRBD 8.4.3 : create-md possibly broken for fixed sized (shared) meta devices Tijs Van Buggenhout
2013-03-07  9:31 ` Lars Ellenberg
2013-03-07 15:54   ` Tijs Van Buggenhout [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452163.IjCXaMLILp@itsj \
    --to=tvb@able.be \
    --cc=drbd-dev@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox