[linux-lvm] pvmove doesn't work the way the man page says

Phillip Susi psusi at ubuntu.com
Wed Feb 13 15:43:06 UTC 2013


-----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-----




More information about the linux-lvm mailing list