Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Lars Ellenberg <lars.ellenberg@linbit.com>
To: "ILLES, Marton" <illes.marton@balabit.hu>
Cc: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] invalidate broken in 8.3.0 regression from 8.2.6
Date: Wed, 11 Mar 2009 20:44:16 +0100	[thread overview]
Message-ID: <20090311194416.GI8646@soda.linbit> (raw)
In-Reply-To: <1236797912.7981.30.camel@octane>

On Wed, Mar 11, 2009 at 07:58:32PM +0100, ILLES, Marton wrote:
> On Wed, 2009-03-11 at 19:35 +0100, Lars Ellenberg wrote:
> > On Wed, Mar 11, 2009 at 06:30:21PM +0100, ILLES, Marton wrote:
> > > Hi,
> > > 
> > > First of all thanks for drbd, it is such a nice piece of code, we love
> > > to use it.
> > > 
> > > In my current setup I use drbd 8.3.0 with linux 2.6.27 and some ubuntu
> > > patches (but it does not really matter), while I discovered that
> > > "drbdsetup /dev/drbd0 invalidate" does not do anything. No error code,
> > > nothing. In 8.2.6 it worked well, so some regression is here.
> > 
> > was drbd0 configured while you did "drbdsetup /dev/drbd0 invalidate"?
> > 
> > if not, that is a known bug, which we unfortunately not have fixed yet.
> > drbdadm should try drbdsetup, and if that fails because the device is
> > unconfigured, it should use drbdmeta to mark it as invalid in the meta
> > data itself.
> > 
> > unfortunately drbdsetup invalidate exits with 0 for unconfigured
> > devices.
> > 
> > if drbdsetup invalidate does nothing even while it is configured,
> > that would be new to me.
> > 
> 
> Hi,
> 
> It was configured in StandAlone Secondary/DUnknown state. I do not use
> drbdadm only drbdsetup. Though I still believe that the cause was the
> missed patch.

ok.

drbdadm invalidate
 - works as intended when connected
	(also for you?)
 - is broken when standalone in drbd 8.3
	(regression as per this report)
 - is broken when unconfigured (possibly for a long time already).
	(I found out a while back)

we'll fix that.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.

  parent reply	other threads:[~2009-03-11 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11 17:30 [Drbd-dev] invalidate broken in 8.3.0 regression from 8.2.6 ILLES, Marton
2009-03-11 18:35 ` Lars Ellenberg
     [not found]   ` <1236797912.7981.30.camel@octane>
2009-03-11 19:44     ` Lars Ellenberg [this message]
2009-03-12 10:32 ` Philipp Reisner

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=20090311194416.GI8646@soda.linbit \
    --to=lars.ellenberg@linbit.com \
    --cc=drbd-dev@lists.linbit.com \
    --cc=illes.marton@balabit.hu \
    /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