Bug 1369253
| Summary: | raid take over attempt from raid10 -> raid1|mirror should fail with a 'not yet supported' message | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | LVM and device-mapper development team <lvm-team> |
| lvm2 sub component: | Mirroring and RAID | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | unspecified | CC: | agk, heinzm, jbrassow, mnavrati, msnitzer, prajnoha, prockai, zkabelac |
| Version: | 7.3 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.164-3.el7 | Doc Type: | No Doc Update |
| Doc Text: |
Intra-release bug, no documentation needed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 04:18:07 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-08-22 20:38:41 UTC
It's like the problems we've seen elsewhere. The -m is dominating and it's not even looking at the --type and trying to change the number of mirrors on raid10 when we only support 2. And doesn't look like a regression - this wasn't working properly before this last set of changes either, albeit hitting a different failure mode. Fixed in next release. (The contents of the error messages when you attempt something disallowed remain a bit inconsistent at times, but that level of tidy up will have to wait for RHEL 7.4.) The new message is simply: --mirrors/-m cannot be changed with raid10. Fix verified in the latest rpms. lvm2-2.02.164-3.el7 BUILT: Wed Aug 24 05:20:41 CDT 2016 lvm2-libs-2.02.164-3.el7 BUILT: Wed Aug 24 05:20:41 CDT 2016 lvm2-cluster-2.02.164-3.el7 BUILT: Wed Aug 24 05:20:41 CDT 2016 [root@host-117 ~]# lvs -a -o +devices LV VG Attr LSize Log Cpy%Sync Devices POOL test rwi-a-r--- 2.00g 100.00 POOL_rimage_0(0),POOL_rimage_1(0),POOL_rimage_2(0),POOL_rimage_3(0) [POOL_rimage_0] test iwi-aor--- 1.00g /dev/sda1(1) [POOL_rimage_1] test iwi-aor--- 1.00g /dev/sdb1(1) [POOL_rimage_2] test iwi-aor--- 1.00g /dev/sdc1(1) [POOL_rimage_3] test iwi-aor--- 1.00g /dev/sdd1(1) [POOL_rmeta_0] test ewi-aor--- 4.00m /dev/sda1(0) [POOL_rmeta_1] test ewi-aor--- 4.00m /dev/sdb1(0) [POOL_rmeta_2] test ewi-aor--- 4.00m /dev/sdc1(0) [POOL_rmeta_3] test ewi-aor--- 4.00m /dev/sdd1(0) test-POOL: 0 4194304 raid raid10 4 AAAA 4194304/4194304 idle 0 0 [root@host-117 ~]# lvconvert --type raid1 -m 1 test/POOL --mirrors/-m cannot be changed with raid10. [root@host-117 ~]# lvconvert --type mirror -m 1 test/POOL --mirrors/-m cannot be changed with raid10. [root@host-117 ~]# lvconvert --type raid1 -m 2 test/POOL --mirrors/-m cannot be changed with raid10. [root@host-117 ~]# lvconvert --type mirror -m 2 test/POOL --mirrors/-m cannot be changed with raid10. 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://rhn.redhat.com/errata/RHBA-2016-1445.html |