Bug 1784351
| Summary: | Bus error in lvextend for RAID5 converted from RAID1 | |||
|---|---|---|---|---|
| Product: | [Community] LVM and device-mapper | Reporter: | Frédéric KIEBER <bugzilla.redhat> | |
| Component: | lvm2 | Assignee: | Heinz Mauelshagen <heinzm> | |
| lvm2 sub component: | Mirroring and RAID | QA Contact: | cluster-qe <cluster-qe> | |
| Status: | MODIFIED --- | Docs Contact: | ||
| Severity: | high | |||
| Priority: | high | CC: | agk, heinzm, jbrassow, mcsontos, prajnoha, zkabelac | |
| Version: | 2.02.184 | Flags: | pm-rhel:
lvm-technical-solution?
pm-rhel: lvm-test-coverage? |
|
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | lvm2-2.03.10 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1851451 (view as bug list) | Environment: | ||
| Last Closed: | 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1851451 | |||
|
Description
Frédéric KIEBER
2019-12-17 10:12:17 UTC
Adding stripes solves also the problem but double the size :( # lvconvert --stripes 2 test/root # vgs VG #PV #LV #SN Attr VSize VFree test 3 1 0 wz--n- <29.99g 5.96g # lvs -a -o name,lv_size,copy_percent,devices,lv_layout LV LSize Cpy%Sync Devices Layout root 16,00g 100,00 root_rimage_0(0),root_rimage_1(0),root_rimage_2(0) raid,raid5,raid5_ls [root_rimage_0] 8,00g /dev/sda(2049) linear [root_rimage_0] 8,00g /dev/sda(0) linear [root_rimage_1] 8,00g /dev/sdb(2049) linear [root_rimage_1] 8,00g /dev/sdb(1) linear [root_rimage_2] 8,00g /dev/sdc(2049) linear [root_rimage_2] 8,00g /dev/sdc(1) linear [root_rmeta_0] 4,00m /dev/sda(2048) linear [root_rmeta_1] 4,00m /dev/sdb(0) linear [root_rmeta_2] 4,00m /dev/sdc(0) linear # lvextend -L+1G test/root Using stripesize of last segment 64.00 KiB Size of logical volume test/root changed from 16.00 GiB (4096 extents) to 17.00 GiB (4352 extents). Logical volume test/root successfully resized. # vgs VG #PV #LV #SN Attr VSize VFree test 3 1 0 wz--n- <29.99g <4.48g # lvs -a -o name,lv_size,copy_percent,devices,lv_layout LV LSize Cpy%Sync Devices Layout root 17,00g 100,00 root_rimage_0(0),root_rimage_1(0),root_rimage_2(0) raid,raid5,raid5_ls [root_rimage_0] 8,50g /dev/sda(2049) linear [root_rimage_0] 8,50g /dev/sda(0) linear [root_rimage_0] 8,50g /dev/sda(2050) linear [root_rimage_1] 8,50g /dev/sdb(2049) linear [root_rimage_1] 8,50g /dev/sdb(1) linear [root_rimage_1] 8,50g /dev/sdb(2050) linear [root_rimage_2] 8,50g /dev/sdc(2049) linear [root_rimage_2] 8,50g /dev/sdc(1) linear [root_rimage_2] 8,50g /dev/sdc(2050) linear [root_rmeta_0] 4,00m /dev/sda(2048) linear [root_rmeta_1] 4,00m /dev/sdb(0) linear [root_rmeta_2] 4,00m /dev/sdc(0) linear Fixed by rejecting size change requests on 2-legged raid5* and raid4: master commit id: 2cf0f90780bed64cb4062eb6dfa714ed03eecfb7 and 04bba5ea421b02275197bfb16b4d1bbf8879b240 stable 2.02 commit id: d17780c6b85a0f136e0ed395d5722d82bd8c7464 and e7e2288ff4ac34d825dd13dd45b0418723a7da84 Not fixed yet in a released 2.02.* though. Keeping this in MODIFIED until that's fixed. |