Bug 1608067
| Summary: | RAID TAKEOVER: raid0|raid0_meta no longer able to convert directly to striped | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | Heinz Mauelshagen <heinzm> |
| 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, mcsontos, msnitzer, prajnoha, zkabelac |
| Version: | 7.6 | Keywords: | Regression |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.180-5.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-30 11:03:51 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
2018-07-24 22:02:35 UTC
It appears all the other raid0 -> direct options still work properly ("raid0_meta","raid4","raid5_n","raid6_n_6","raid10","raid10_near")
Same issue w/ raid0_meta -> striped. commit bd7cdd0b09ba123b064937fddde08daacbed7dab introduced this regression. (In reply to Jonathan Earl Brassow from comment #5) > commit bd7cdd0b09ba123b064937fddde08daacbed7dab introduced this regression. Gonna need to let Heinz fix this one... conversion code gets pretty messy. lvm2 upstream commit 4578411633a40c8c9068ff439ef3c33cbe78d25a Fix verified in the latest rpms. Not sure about the additional warnings however: --stripes not allowed for LV centipede2/takeover when converting from raid0 to striped. -R/--regionsize not allowed for LV centipede2/takeover when converting from raid0 to striped. 3.10.0-937.el7.x86_64 lvm2-2.02.180-6.el7 BUILT: Fri Aug 24 08:52:19 CDT 2018 lvm2-libs-2.02.180-6.el7 BUILT: Fri Aug 24 08:52:19 CDT 2018 lvm2-cluster-2.02.180-6.el7 BUILT: Fri Aug 24 08:52:19 CDT 2018 lvm2-lockd-2.02.180-6.el7 BUILT: Fri Aug 24 08:52:19 CDT 2018 lvm2-python-boom-0.9-9.el7 BUILT: Fri Aug 24 08:52:54 CDT 2018 cmirror-2.02.180-6.el7 BUILT: Fri Aug 24 08:52:19 CDT 2018 device-mapper-1.02.149-6.el7 BUILT: Fri Aug 24 08:52:19 CDT 2018 device-mapper-libs-1.02.149-6.el7 BUILT: Fri Aug 24 08:52:19 CDT 2018 device-mapper-event-1.02.149-6.el7 BUILT: Fri Aug 24 08:52:19 CDT 2018 device-mapper-event-libs-1.02.149-6.el7 BUILT: Fri Aug 24 08:52:19 CDT 2018 device-mapper-persistent-data-0.7.3-3.el7 BUILT: Tue Nov 14 05:07:18 CST 2017 # raid0 [root@hayes-01 ~]# lvcreate --type raid0 -i 5 -n takeover -L 2.75G centipede2 Using default stripesize 64.00 KiB. Rounding size 2.75 GiB (704 extents) up to stripe boundary size 2.75 GiB(705 extents). Logical volume "takeover" created. [root@hayes-01 ~]# lvs -a -o +devices,segtype LV VG Attr LSize Devices Type takeover centipede2 rwi-a-r--- 2.75g takeover_rimage_0(0),takeover_rimage_1(0),takeover_rimage_2(0),takeover_rimage_3(0),takeover_rimage_4(0) raid0 [takeover_rimage_0] centipede2 iwi-aor--- 564.00m /dev/sdb1(0) linear [takeover_rimage_1] centipede2 iwi-aor--- 564.00m /dev/sdc1(0) linear [takeover_rimage_2] centipede2 iwi-aor--- 564.00m /dev/sdd1(0) linear [takeover_rimage_3] centipede2 iwi-aor--- 564.00m /dev/sde1(0) linear [takeover_rimage_4] centipede2 iwi-aor--- 564.00m /dev/sdf1(0) linear [root@hayes-01 ~]# lvconvert --yes --type striped centipede2/takeover --stripes not allowed for LV centipede2/takeover when converting from raid0 to striped. -R/--regionsize not allowed for LV centipede2/takeover when converting from raid0 to striped. Logical volume centipede2/takeover successfully converted. [root@hayes-01 ~]# lvs -a -o +devices,segtype LV VG Attr LSize Devices Type takeover centipede2 -wi-a----- 2.75g /dev/sdb1(0),/dev/sdc1(0),/dev/sdd1(0),/dev/sde1(0),/dev/sdf1(0) striped # raid0_meta [root@hayes-01 ~]# lvcreate --type raid0_meta -i 2 -n takeover -L 2.75G centipede2 Using default stripesize 64.00 KiB. Logical volume "takeover" created. [root@hayes-01 ~]# lvs -a -o +devices,segtype LV VG Attr LSize Devices Type takeover centipede2 rwi-a-r--- 2.75g takeover_rimage_0(0),takeover_rimage_1(0) raid0_meta [takeover_rimage_0] centipede2 iwi-aor--- <1.38g /dev/sdb1(1) linear [takeover_rimage_1] centipede2 iwi-aor--- <1.38g /dev/sdc1(1) linear [takeover_rmeta_0] centipede2 ewi-aor--- 4.00m /dev/sdb1(0) linear [takeover_rmeta_1] centipede2 ewi-aor--- 4.00m /dev/sdc1(0) linear [root@hayes-01 ~]# lvconvert --yes --type striped centipede2/takeover --stripes not allowed for LV centipede2/takeover when converting from raid0_meta to striped. -R/--regionsize not allowed for LV centipede2/takeover when converting from raid0_meta to striped. Logical volume centipede2/takeover successfully converted. [root@hayes-01 ~]# lvs -a -o +devices,segtype LV VG Attr LSize Devices Type takeover centipede2 -wi-a----- 2.75g /dev/sdb1(1),/dev/sdc1(1) striped 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/RHBA-2018:3193 |