From: Paul LeoNerd Evans <leonerd-lvm@leonerd.org.uk>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Mirror resync direction
Date: Thu, 26 Oct 2006 22:16:23 +0100 [thread overview]
Message-ID: <20061026221623.5d0e2e17@nim.leo> (raw)
In-Reply-To: <67e61b34aeae92681a278b5d3bde28e0@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]
On Thu, 26 Oct 2006 16:14:34 -0500
Jonathan E Brassow <jbrassow@redhat.com> wrote:
> This doesn't really reflect what would happen if you replaced a disk, I
> don't think. With this, you are simply going around mirror's back to
> write data to a device which it controls.
Well, I did it with the VG turned off; namely
vgchange -a n
> In real life, I think you would have a disk failure (which would force
> you to run 'vgreduce --removemissing vg'), then you would insert a new
> block device, pvcreate/vgextend/lvconvert.
Yes, I wasn't aware of that procedure before, but Alasdair Kergon's mail
has pointed that out to me - I've tried with that and it seems to work
fine.
> LVM2 mirroring is still a work in progress (trying to get the right
> pieces upstream). Depending on the version of LVM2 and the kernel
> patches you have, it may not work.
Seems happy once I follow the correct procedure - see above :)
> 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.
--
Paul "LeoNerd" Evans
leonerd@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-10-26 21:16 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 [this message]
2006-10-26 21:45 ` Jonathan E Brassow
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=20061026221623.5d0e2e17@nim.leo \
--to=leonerd-lvm@leonerd.org.uk \
--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).