Bug 822136

Summary: Partial activation should not activate completely missing devices
Product: Red Hat Enterprise Linux 7 Reporter: Alasdair Kergon <agk>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
lvm2 sub component: Default / Unclassified QA Contact: cluster-qe <cluster-qe>
Status: CLOSED WONTFIX Docs Contact:
Severity: medium    
Priority: medium CC: agk, cmarthal, dwysocha, heinzm, jbrassow, msnitzer, nkinder, prajnoha, rmeggins, thornber, zkabelac
Version: 7.0Keywords: FutureFeature, Triaged
Target Milestone: pre-dev-freeze   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 816672 Environment:
Last Closed: 2019-08-06 01:27:34 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:
Bug Depends On: 816672    
Bug Blocks:    

Description Alasdair Kergon 2012-05-16 12:58:24 UTC
+++ This bug was initially created as a clone of Bug #816672 +++

1) If all areas used by a segment are missing, the whole segment should be mapped to an error target.

2) The test that was removed from add_areas_line() in 

http://www.redhat.com/archives/lvm-devel/2012-May/msg00024.html

needs instead to be re-coded elsewhere to consider the LV as a whole - check all segments at once, not each individually.  If all segments consist of missing areas that are getting mapped to error devices, then refuse to activate the device.  (This needs to take full account of the device stack.)


(If this is too complicated to do correctly, then we might end up closing it WONTFIX.)

Comment 1 Tom Lavigne 2012-09-07 15:23:44 UTC
This request was evaluated by Red Hat Product Management for 
inclusion in the current release of Red Hat Enterprise Linux.
Since we are unable to provide this feature at this time,  
it has been proposed for the next release of 
Red Hat Enterprise Linux.