Bug 1300455
Summary: | [RFE] allow pvmove to act on a pv tag or tags | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | David Teigland <teigland> |
lvm2 sub component: | Command-line tools | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED WONTFIX | Docs Contact: | |
Severity: | low | ||
Priority: | unspecified | CC: | agk, heinzm, jbrassow, msnitzer, prajnoha, thornber, zkabelac |
Version: | 7.2 | Keywords: | FutureFeature |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-09-09 15:12:17 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Corey Marthaler
2016-01-20 21:27:08 UTC
pvmove now uses process_each_pv logic (since lvm2 v2.02.141) inside and as such, it recognizes PV tags now. So this scenario now works: # vgcreate vg /dev/sda /dev/sdb Physical volume "/dev/sda" successfully created. Physical volume "/dev/sdb" successfully created. Volume group "vg" successfully created # pvchange --addtag mytag /dev/sda Physical volume "/dev/sda" changed 1 physical volume changed / 0 physical volumes not changed # lvcreate -L100m vg /dev/sda Logical volume "lvol0" created. # pvmove @mytag @mytag: Moved: 24.00% @mytag: Moved: 100.00% However, there are still issues in certain situations (I've filed that as upstream bug #1342564). Use of tags together with pvmove is disabled for now until we find complete solution for how this should work when a tag encompasses several devices. I'm moving this back from POST. https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=b321d2b1b9a3b6a1f8d67888a04c7318aa3148c2 |