Bug 1777010
| Summary: | attempting to vgsplit PV found in writecache _wcorig internal volume should give proper error | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | David Teigland <teigland> |
| lvm2 sub component: | Cache Logical Volumes | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | unspecified | CC: | agk, heinzm, jbrassow, jhrdlica, mcsontos, msnitzer, pasik, prajnoha, zkabelac |
| Version: | 8.2 | Flags: | pm-rhel:
mirror+
|
| Target Milestone: | rc | ||
| Target Release: | 8.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.03.08-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-28 16:58:59 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
2019-11-26 17:43:19 UTC
fixed in master https://sourceware.org/git/?p=lvm2.git;a=commit;h=379a7e1288a5e7a15cd2872c074b219992575b4d # lvs -a foo -o+devices LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices [fast_cvol] foo Cwi---C--- 32.00m /dev/sdg(0) main foo Cwi---C--- 64.00m [fast_cvol] [main_wcorig] main_wcorig(0) [main_wcorig] foo owi---C--- 64.00m /dev/sde(0) # vgsplit foo foo2 /dev/sdg Can't split LV main between two Volume Groups # vgsplit foo foo2 /dev/sde Cannot split cache origin foo2/main_wcorig and its cachevol foo/fast_cvol into separate VGs. # vgsplit foo foo2 /dev/sde /dev/sdg New volume group "foo2" successfully split from "foo" Corey, could you ack please? Verified with latest RPMs lvm2-2.03.08-2.el8.x86_64 # lvs vg -a -o+devices LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices main vg Cwi---C--- 300.00m [pool_cvol] [main_wcorig] main_wcorig(0) [main_wcorig] vg owi---C--- 300.00m /dev/sdc(0) [pool_cvol] vg Cwi---C--- 200.00m /dev/sdd(0) # vgsplit vg newvg /dev/sdc Can't split LV main between two Volume Groups # vgsplit vg newvg /dev/sdd Can't split LV main between two Volume Groups # vgsplit vg newvg /dev/sdd /dev/sdc New volume group "newvg" successfully split from "vg" Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:1881 |