Bug 735124
Summary: | LVM --type raid1 create attempt panics system and leaves it unbootable | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Corey Marthaler <cmarthal> |
Component: | kernel | Assignee: | Jonathan Earl Brassow <jbrassow> |
Status: | CLOSED ERRATA | QA Contact: | Petr Beňas <pbenas> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.2 | CC: | agk, dwysocha, heinzm, jbrassow, mbroz, pasteur, pbenas, prajnoha, prockai, pstehlik, thornber, zkabelac |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | kernel-2.6.32-198.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-06 14:28:00 UTC | Type: | --- |
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: | 743047 |
Description
Corey Marthaler
2011-09-01 15:04:02 UTC
[<ffffffffa0396937>] md_raid5_unplug_device+0x67/0x100 [raid456] Upstream doesn't have this unplug interface... Problem is likely there. wait, you are creating a RAID1 device, but it is calling md_raid5_unplug_device... that is a problem. kernel is /missing/ the RAID1 unplug patch. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. No change in bahavior with the scratch kernel (2.6.32-193.el6.bz735124.x86_64), this bug still exists. All the RAID test cases listed in bug 729712#c4 work with the latest built kernel. [root@taft-01 ~]# uname -ar Linux taft-01 2.6.32-193.el6.bz735124.1.x86_64 #1 SMP Thu Sep 1 23:34:44 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux [root@taft-01 ~]# lvcreate --type raid1 -m 3 -L 100M -n lv vg WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed [root@taft-01 ~]# lvcreate --type raid4 -i 4 -L 100M -n lv vg Using default stripesize 64.00 KiB WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Rounding size (25 extents) up to stripe boundary size (28 extents) Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed [root@taft-01 ~]# lvcreate --type raid5 -i 4 -L 100M -n lv vg Using default stripesize 64.00 KiB WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Rounding size (25 extents) up to stripe boundary size (28 extents) Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed [root@taft-01 ~]# lvcreate --type raid5_ls -i 4 -L 100M -n lv vg Using default stripesize 64.00 KiB WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Rounding size (25 extents) up to stripe boundary size (28 extents) Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed [root@taft-01 ~]# lvcreate --type raid5_la -i 4 -L 100M -n lv vg Using default stripesize 64.00 KiB WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Rounding size (25 extents) up to stripe boundary size (28 extents) Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed [root@taft-01 ~]# lvcreate --type raid5_rs -i 4 -L 100M -n lv vg Using default stripesize 64.00 KiB WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Rounding size (25 extents) up to stripe boundary size (28 extents) Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed [root@taft-01 ~]# lvcreate --type raid5_ra -i 4 -L 100M -n lv vg Using default stripesize 64.00 KiB WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Rounding size (25 extents) up to stripe boundary size (28 extents) Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed [root@taft-01 ~]# lvcreate --type raid6 -i 4 -L 100M -n lv vg Using default stripesize 64.00 KiB WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Rounding size (25 extents) up to stripe boundary size (28 extents) Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed [root@taft-01 ~]# lvcreate --type raid6_zr -i 4 -L 100M -n lv vg Using default stripesize 64.00 KiB WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Rounding size (25 extents) up to stripe boundary size (28 extents) Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed [root@taft-01 ~]# lvcreate --type raid6_nr -i 4 -L 100M -n lv vg Using default stripesize 64.00 KiB WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Rounding size (25 extents) up to stripe boundary size (28 extents) Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed [root@taft-01 ~]# lvcreate --type raid6_nc -i 4 -L 100M -n lv vg Using default stripesize 64.00 KiB WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Rounding size (25 extents) up to stripe boundary size (28 extents) Logical volume "lv" created [root@taft-01 ~]# lvremove vg Do you really want to remove active logical volume lv? [y/n]: y Logical volume "lv" successfully removed FYI - although everything passed in the test kernel in comment #8, this bug still exists in the latest official kernel/scratch rpms. 2.6.32-195.el6.x86_64 lvm2-2.02.87-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 lvm2-libs-2.02.87-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 lvm2-cluster-2.02.87-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 udev-147-2.38.el6 BUILT: Fri Sep 9 16:25:50 CDT 2011 device-mapper-1.02.66-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 device-mapper-libs-1.02.66-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 device-mapper-event-1.02.66-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 device-mapper-event-libs-1.02.66-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 cmirror-2.02.87-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 I was told it would be integrated into kernel-2.6.32-198.el6. I don't see it in git yet, but it has been noticed and has approval. This bug no longer exists in the latest kernel. [root@taft-01 ~]# lvcreate --type raid1 -m 3 -L 100M -n lv vg WARNING: RAID segment types are considered Tech Preview For more information on Tech Preview features, visit: https://access.redhat.com/support/offerings/techpreview/ Logical volume "lv" created [root@taft-01 ~]# lvs -a -o +devices LV VG Attr LSize Copy% Devices lv vg mwi-a- 100.00m 100.00 lv_rimage_0(0),lv_rimage_1(0),lv_rimage_2(0),lv_rimage_3(0) [lv_rimage_0] vg -wi-ao 100.00m /dev/sdb1(1) [lv_rimage_1] vg -wi-ao 100.00m /dev/sdc1(1) [lv_rimage_2] vg -wi-ao 100.00m /dev/sdd1(1) [lv_rimage_3] vg -wi-ao 100.00m /dev/sde1(1) [lv_rmeta_0] vg -wi-ao 4.00m /dev/sdb1(0) [lv_rmeta_1] vg -wi-ao 4.00m /dev/sdc1(0) [lv_rmeta_2] vg -wi-ao 4.00m /dev/sdd1(0) [lv_rmeta_3] vg -wi-ao 4.00m /dev/sde1(0) 2.6.32-198.el6.x86_64 lvm2-2.02.87-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 lvm2-libs-2.02.87-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 lvm2-cluster-2.02.87-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 udev-147-2.38.el6 BUILT: Fri Sep 9 16:25:50 CDT 2011 device-mapper-1.02.66-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 device-mapper-libs-1.02.66-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 device-mapper-event-1.02.66-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 device-mapper-event-libs-1.02.66-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 cmirror-2.02.87-2.1.el6 BUILT: Wed Sep 14 09:44:16 CDT 2011 Patch(es) available on kernel-2.6.32-198.el6 Reproduced in 2.6.32-197.el6.x86_64 and verified in 2.6.32-198.el6.x86_64. 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. http://rhn.redhat.com/errata/RHSA-2011-1530.html |