From: Jonathan E Brassow <jbrassow@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Mirror resync direction
Date: Thu, 26 Oct 2006 16:45:26 -0500 [thread overview]
Message-ID: <299b119df023e37355e52e74b9658379@redhat.com> (raw)
In-Reply-To: <20061026221623.5d0e2e17@nim.leo>
On Oct 26, 2006, at 4:16 PM, Paul LeoNerd Evans wrote:
>> The use of --corelog simply means that the mirror device will be
>> resynchronized every time the device is activated. The persistent log
>> (disk log) tracks what resynchronization has been done and can avoid
>> all complete resyncs.
>
> Yes, I'm aware of that bit, but I couldn't see any other way to achieve
> it with only two PVs. The "--alloc anywhere" as suggested in the error
> message doesn't have any effect for me.
>
Jun'ichi Nomura from NEC is working on the allocation issues - it's a
bit buggy WRT mirrors.
However, you could use a known bug to get around having to use
--corelog when you only have two devices.
1) lvcreate -m1 --corelog -L <don't use all the space> -n mirror vg
2) lvconvert -m1 vg/mirror
The convert doesn't currently honor the allocation schemes very well
right now either. It will simply put the disk log on one of the two
devices.
brassow
prev parent reply other threads:[~2006-10-26 21:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-26 20:17 [linux-lvm] Mirror resync direction Paul LeoNerd Evans
2006-10-26 20:27 ` Alasdair G Kergon
2006-10-26 20:30 ` Alasdair G Kergon
2006-10-26 21:10 ` Paul LeoNerd Evans
2006-11-01 17:43 ` Jonathan E Brassow
2006-10-26 22:08 ` Paul LeoNerd Evans
2006-10-26 21:14 ` Jonathan E Brassow
2006-10-26 21:16 ` Paul LeoNerd Evans
2006-10-26 21:45 ` Jonathan E Brassow [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=299b119df023e37355e52e74b9658379@redhat.com \
--to=jbrassow@redhat.com \
--cc=linux-lvm@redhat.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;
as well as URLs for NNTP newsgroup(s).