Bug 1842712
Summary: | Additional RAID images can *NOT* be added to raid1 LV with integrity | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | David Teigland <teigland> |
lvm2 sub component: | Mirroring and RAID | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | agk, heinzm, jbrassow, mcsontos, msnitzer, pasik, prajnoha, zkabelac |
Version: | 8.3 | ||
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.03.09-4.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-04 02:00:38 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
2020-06-01 22:03:35 UTC
Drop the "--type raid1" and it works. Will have a look at that other code path to see if it can be tweaked. Change to allow type raid1 to be specified: https://sourceware.org/git/?p=lvm2.git;a=commit;h=119d5947881a8b99640d81592986e508e040766d Fix verified in the latest rpms, both with and without the "--type raid1" argument. kernel-4.18.0-232.el8 BUILT: Mon Aug 10 02:17:54 CDT 2020 lvm2-2.03.09-5.el8 BUILT: Wed Aug 12 15:51:50 CDT 2020 lvm2-libs-2.03.09-5.el8 BUILT: Wed Aug 12 15:51:50 CDT 2020 lvm2-dbusd-2.03.09-5.el8 BUILT: Wed Aug 12 15:49:44 CDT 2020 lvm2-lockd-2.03.09-5.el8 BUILT: Wed Aug 12 15:51:50 CDT 2020 boom-boot-1.2-2.el8 BUILT: Mon Jun 29 08:27:02 CDT 2020 device-mapper-1.02.171-5.el8 BUILT: Wed Aug 12 15:51:50 CDT 2020 device-mapper-libs-1.02.171-5.el8 BUILT: Wed Aug 12 15:51:50 CDT 2020 device-mapper-event-1.02.171-5.el8 BUILT: Wed Aug 12 15:51:50 CDT 2020 device-mapper-event-libs-1.02.171-5.el8 BUILT: Wed Aug 12 15:51:50 CDT 2020 [root@hayes-02 ~]# lvcreate --type raid1 -m 1 -n test_raid -L 100M --raidintegrity y --raidintegritymode journal raid_sanity Creating integrity metadata LV test_raid_rimage_0_imeta with size 8.00 MiB. Logical volume "test_raid_rimage_0_imeta" created. Creating integrity metadata LV test_raid_rimage_1_imeta with size 8.00 MiB. Logical volume "test_raid_rimage_1_imeta" created. Logical volume "test_raid" created. [root@hayes-02 ~]# lvconvert --yes --type raid1 -m 2 raid_sanity/test_raid Creating integrity metadata LV test_raid_rimage_2_imeta with size 8.00 MiB. Logical volume "test_raid_rimage_2_imeta" created. Using integrity block size 512 for unknown file system block size, logical block size 512, physical block size 512. Logical volume raid_sanity/test_raid successfully converted. [root@hayes-02 ~]# lvconvert --yes -m 3 raid_sanity/test_raid Creating integrity metadata LV test_raid_rimage_3_imeta with size 8.00 MiB. Logical volume "test_raid_rimage_3_imeta" created. Using integrity block size 512 for unknown file system block size, logical block size 512, physical block size 512. Logical volume raid_sanity/test_raid successfully converted. [root@hayes-02 ~]# lvs -a -o +devices LV VG Attr LSize Origin Cpy%Sync Devices test_raid raid_sanity rwi-a-r--- 100.00m 100.00 test_raid_rimage_0(0),test_raid_rimage_1(0),test_raid_rimage_2(0),test_raid_rimage_3(0) [test_raid_rimage_0] raid_sanity gwi-aor--- 100.00m [test_raid_rimage_0_iorig] 100.00 test_raid_rimage_0_iorig(0) [test_raid_rimage_0_imeta] raid_sanity ewi-ao---- 8.00m /dev/sdb1(26) [test_raid_rimage_0_iorig] raid_sanity -wi-ao---- 100.00m /dev/sdb1(1) [test_raid_rimage_1] raid_sanity gwi-aor--- 100.00m [test_raid_rimage_1_iorig] 100.00 test_raid_rimage_1_iorig(0) [test_raid_rimage_1_imeta] raid_sanity ewi-ao---- 8.00m /dev/sdc1(26) [test_raid_rimage_1_iorig] raid_sanity -wi-ao---- 100.00m /dev/sdc1(1) [test_raid_rimage_2] raid_sanity gwi-aor--- 100.00m [test_raid_rimage_2_iorig] 100.00 test_raid_rimage_2_iorig(0) [test_raid_rimage_2_imeta] raid_sanity ewi-ao---- 8.00m /dev/sdd1(26) [test_raid_rimage_2_iorig] raid_sanity -wi-ao---- 100.00m /dev/sdd1(1) [test_raid_rimage_3] raid_sanity gwi-aor--- 100.00m [test_raid_rimage_3_iorig] 100.00 test_raid_rimage_3_iorig(0) [test_raid_rimage_3_imeta] raid_sanity ewi-ao---- 8.00m /dev/sde1(26) [test_raid_rimage_3_iorig] raid_sanity -wi-ao---- 100.00m /dev/sde1(1) [test_raid_rmeta_0] raid_sanity ewi-aor--- 4.00m /dev/sdb1(0) [test_raid_rmeta_1] raid_sanity ewi-aor--- 4.00m /dev/sdc1(0) [test_raid_rmeta_2] raid_sanity ewi-aor--- 4.00m /dev/sdd1(0) [test_raid_rmeta_3] raid_sanity ewi-aor--- 4.00m /dev/sde1(0) 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 (lvm2 bug fix and enhancement update), 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-2020:4546 |