From: Lutz Vieweg <lvml@5t9.de>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] [GIT PULL] drbd-8.4 for mainline
Date: Mon, 26 Sep 2011 14:45:25 +0200 [thread overview]
Message-ID: <j5ps55$u46$1@dough.gmane.org> (raw)
In-Reply-To: <20110923141820.GD11992@barkeeper1-xen.linbit>
On 09/23/2011 04:18 PM, Lars Ellenberg wrote:
> On Fri, Sep 23, 2011 at 11:48:17AM +0200, Lutz Vieweg wrote:
>> On 08/24/2011 04:41 PM, Philipp Reisner wrote:
>>> This release brings a new meta-data format. Forward (8.3 -> 8.4)
>>> conversion happens complete seamless.
>>
>> Well, it may happen seamless unless you reboot the machine before
>> it has completed the resyncing with the other (still 8.3 running)
>> machine.
>>
>> I happened to require yet some other kernel setting (unrelated to DRBD),
>> installed the changed kernel, while one DRBD resource was still syncing
>> (for the first time after upgrading to 8.4), and rebooted (clean shutdown/restart).
>>
>> After the reboot, DRBD complained about not finding valid meta data
>> on the device, and I had to write new metadata and perform a full sync
>> to rectify the situation.
>
> You probably had 8.4 userland already, but 8.3 module loaded still?
Sort of... the sequence was:
- installed CentOS 6 (which comes with some ancient standard kernel)
- installed drbd-8.4 user-land tools
- reboot 1
- installed linux-3.0.3 + drbd-kernel-module
- reboot 2
- re-installed linux-3.0.3 + drbd-kernel-module
- reboot 3 (while DRBD-sync still in progress)
=== at this point the drbd-meta data was said to be corrupt
> If you then unload the 8.3 module (no more /proc/drbd),
> then do "drbdadm apply-al all". That should "fix" it.
Too late for that now :-)
> Otherwise, please tell us how to reproduce, and we will figure out what
> needs to be improved during the upgrade/downgrade paths.
Since this was happening just the one time during the upgrade,
I wouldn't dare to say this is highly reproducable.
But I wanted to warn those who might plan for upgrading both
machines of a DRBD-cluster at the same time... this could have
resulted in a loss of data, if the above happened on both sides.
Regards,
Lutz Vieweg
prev parent reply other threads:[~2011-09-26 12:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-24 14:41 [Drbd-dev] [GIT PULL] drbd-8.4 for mainline Philipp Reisner
2011-08-24 16:00 ` Kyle Moffett
2011-08-24 17:02 ` Jens Axboe
2011-08-24 17:49 ` Philipp Reisner
2011-08-24 17:54 ` Jens Axboe
2011-08-24 18:16 ` Pekka Enberg
2011-08-24 19:32 ` Kyle Moffett
2011-08-24 17:48 ` Philipp Reisner
2011-09-23 9:48 ` Lutz Vieweg
2011-09-23 14:18 ` Lars Ellenberg
2011-09-26 12:45 ` Lutz Vieweg [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='j5ps55$u46$1@dough.gmane.org' \
--to=lvml@5t9.de \
--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