Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 712146

Summary: RFE: striped mirrored legs which fail should be replaced with new striped legs
Product: Red Hat Enterprise Linux 6 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: Jonathan Earl Brassow <jbrassow>
Status: CLOSED WONTFIX QA Contact: Corey Marthaler <cmarthal>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: agk, dwysocha, heinzm, jbrassow, mbroz, prajnoha, prockai, thornber, zkabelac
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 712145 Environment:
Last Closed: 2012-01-03 20:45: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: 712145    
Bug Blocks: 756082    

Description Corey Marthaler 2011-06-09 15:15:48 UTC
This issue exists in RHEL6.1 as well.

+++ This bug was initially created as a clone of Bug #712145 +++

Description of problem:
Currently when a striped mirror leg is failed, lvm replaces it with a non striped leg.

# BEFORE the stripe leg failure

[root@taft-03 ~]# lvs -a -o +devices
  LV                VG           Attr   LSize  Log         Copy%   Devices
  stripe            revolution_9 mwi-a-  1.00G stripe_mlog 100.00  stripe_mimage_0(0),stripe_mimage_1(0)
  [stripe_mimage_0] revolution_9 iwi-ao  1.00G                     /dev/sdc1(0),/dev/sde1(0)
  [stripe_mimage_1] revolution_9 iwi-ao  1.00G                     /dev/sdf1(0),/dev/sdg1(0)
  [stripe_mlog]     revolution_9 lwi-ao  4.00M                     /dev/sdh1(0)

# leg device /dev/sdc is failed

# AFTER the stripe leg replacement

[root@taft-03 ~]# lvs -a -o +devices
  /dev/sdc1: read failed after 0 of 2048 at 0: Input/output error
  LV                VG           Attr   LSize  Log         Copy%   Devices
  stripe            revolution_9 mwi-ao  1.00G stripe_mlog  12.11  stripe_mimage_0(0),stripe_mimage_1(0)
  [stripe_mimage_0] revolution_9 Iwi-ao  1.00G                     /dev/sdf1(0),/dev/sdg1(0)
  [stripe_mimage_1] revolution_9 Iwi-ao  1.00G                     /dev/sde1(128)
  [stripe_mlog]     revolution_9 lwi-ao  4.00M                     /dev/sdh1(1)

Version-Release number of selected component (if applicable):
2.6.18-265.el5

lvm2-2.02.84-4.el5    BUILT: Thu Jun  2 05:04:32 CDT 2011
lvm2-cluster-2.02.84-3.el5    BUILT: Wed Apr 27 03:42:43 CDT 2011
device-mapper-1.02.63-3.el5    BUILT: Thu May 19 08:09:22 CDT 2011
device-mapper-event-1.02.63-3.el5    BUILT: Thu May 19 08:09:22 CDT 2011
cmirror-1.1.39-10.el5    BUILT: Wed Sep  8 16:32:05 CDT 2010
kmod-cmirror-0.1.22-3.el5    BUILT: Tue Dec 22 13:39:47 CST 2009


How reproducible:
Everytime

Comment 2 RHEL Program Management 2012-01-03 20:45:00 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.