linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Move pvmove questions Was: Need help with a	particular use-case for pvmove.
Date: Thu, 18 Nov 2010 21:32:58 +0000	[thread overview]
Message-ID: <20101118213258.GF30435@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <AANLkTikwOEjpTZYUOgUjBh1iXrmTRMD8ZT4EOUy52qFN@mail.gmail.com>

On Thu, Nov 18, 2010 at 03:40:25PM -0500, Stirling Westrup wrote:
> It mentions checkpointing, but gives no further information. It
> certainly doesn't say anything about how often they are done, or under
> what circumstances. 

It's in there, but the man page would indeed benefit from more repetition
and examples.  Patches welcome!

       Every logical volume in the volume group is searched for *contiguous
       data* that need moving according to the  command  line  arguments.   For
       each  piece  of  data  found,  a new *segment* is added to the end of the
       pvmove LV.  This segment takes the form of a *temporary mirror*  to  copy
       the data from the original location to a newly-allocated location. 

       A daemon repeatedly checks progress at the specified time interval.
       When it detects that the first *temporary mirror* is in-sync,  it  breaks
       that  mirror  so that only the new location for that data gets used and
       writes a *checkpoint* into the volume group metadata on  disk. 

So checkpoint at first daemon check interval after temp mirror in-sync, and
one temp mirror per item of contiguous data to be moved.

Alasdair

  reply	other threads:[~2010-11-18 21:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15 19:53 [linux-lvm] Move pvmove questions Was: Need help with a particular use-case for pvmove Stirling Westrup
2010-11-15 21:47 ` Lars Ellenberg
2010-11-15 22:27   ` Stirling Westrup
2010-11-15 23:21     ` Stuart D. Gathman
2010-11-16  6:25 ` Luca Berra
2010-11-18 18:30   ` Stirling Westrup
2010-11-18 20:12     ` Alasdair G Kergon
2010-11-18 20:40       ` Stirling Westrup
2010-11-18 21:32         ` Alasdair G Kergon [this message]
2010-11-18 22:06           ` Stirling Westrup
2011-01-18 18:35             ` [linux-lvm] Move pvmove questions Stuart D Gathman
2010-11-19 21:56         ` [linux-lvm] Move pvmove questions Was: Need help with a particular use-case for pvmove Stuart D. Gathman
2010-11-19 22:25           ` Stirling Westrup
2010-11-21 14:17           ` Sven Eschenberg

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=20101118213258.GF30435@agk-dp.fab.redhat.com \
    --to=agk@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).