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:
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.