All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@ubuntu.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] pvmove doesn't work the way the man page says
Date: Wed, 13 Feb 2013 10:43:06 -0500	[thread overview]
Message-ID: <511BB48A.3010009@ubuntu.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

LVM 2.02.66-4ubuntu7 on Ubuntu 12.04 LTS:

The man page for pvmove says it creates many temporary mirror segments
to sync each segment then breaks the mirror and mirrors the next
segment, thus allowing the move to be resumed after a reboot
approximately where it left off.

This does not appear to be the case.  Looking at dmsetup table during
a move of two logical volumes, there is one mirror segment for the
entire logical volume being moved, and a linear for the next logical
volume.  So it appears that logical volumes are copied as a whole unit
and a reboot will restart the copy from the beginning.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRG7SKAAoJEJrBOlT6nu75v9EIANJebrBr5xmUEVV6yp0Kd7pT
rYqmpt3+VTvp433IgNQ+AaFyP637Bi14EZc9j+2KHas7nw9aNCPcqYSry5VvqyXG
1VMu5v3/af8f49KauZnMyFPkfroIBWOpzCe1d3XcyRHrzNCbnosYhLP2V6VsbOh8
Vs7DcJhJjxnCsSKfvQ6SoQZmQeGwe+DHxoUpAB2kXuRf1JTBFlu5VB90ETGmLTyr
WAW5SgFiv0F87w72MDxH8AFdNu80tQSjqXSiKcCNsGgvldncGu/wPbFjWDBTa7R4
/vsbsD10Kg64QZCLobie75uBC2cdLB2a4LFDVei4rwNEd/Ofs3Pt0uSG64IF0ao=
=iRzK
-----END PGP SIGNATURE-----

             reply	other threads:[~2013-02-13 15:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-13 15:43 Phillip Susi [this message]
2013-02-14  0:45 ` [linux-lvm] pvmove doesn't work the way the man page says Spelic
2013-02-14  0:58   ` Alasdair G Kergon
2013-02-14 13:25     ` Marian Csontos
2013-02-14 13:41       ` Alasdair G Kergon
2013-02-14 16:54         ` Marian Csontos
2013-02-15  9:22     ` Lars Ellenberg
2013-03-09 18:04   ` Phillip Susi

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=511BB48A.3010009@ubuntu.com \
    --to=psusi@ubuntu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.