It would be nice to have some more complicated examples of pvmove, both about moving extents between to two physical discs or inside of one disc. With moving partial extends and how does it work with pvresize or some other tools. e.g., example like this pvs -o +seq_pe_ranges pvmove /dev/hdd2:550-589 /dev/hdc1 pvresize --setphysicalvolumesizesize 20GB /dev/hdd2 with explanation of individual steps. And similar example of moving extents on one disc (when we don't have that pvdefrag).
Yes, there are almost no examples in man page and this is very common question. We need something like examples in lvconvert(8).
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release.
upstream in version 2.02.85
Fixed in lvm2-2.02.84-1.el5
Examples listed in the the man page were tested. Marking verified. pvmove /dev/sdb1 pvmove /dev/sdb1 /dev/sdc1 pvmove -n lvol1 /dev/sdb1 /dev/sdc1 pvmove /dev/sdb1:1000-1999 pvmove /dev/sdb1:1000-1999 /dev/sdc1 pvmove /dev/sdb1:1000-1999 /dev/sdb1:0-999 pvmove -n lvol1 /dev/sdb1:1000-1999 /dev/sdc1
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: This field is the basis of the errata or release note for this bug. It can also be used for change logs. The Technical Note template, known as CCFR, is as follows: Cause What actions or circumstances cause this bug to present. Consequence What happens when the bug presents. Fix What was done to fix the bug. Result What now happens when the actions or circumstances above occur. Note: this is not the same as the bug doesn’t present anymore.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1071.html