Bug 1305573

Summary: [RFE] Add support for OPTIONAL PV
Product: [Fedora] Fedora Reporter: Zdenek Kabelac <zkabelac>
Component: lvm2Assignee: LVM Team <lvm-team>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, msnitzer, prajnoha, zkabelac
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 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:

Description Zdenek Kabelac 2016-02-08 15:40:03 UTC
Description of problem:

Introduce support for new  PV type.
ATM lvm2 does support  PERMANENT   PVs -  if such PV is missing, it's causing error reports in lvm2 command. 

We would like to support  OPTIONAL PVs - such a PV could be available, but when when it's missing it's the correct state -  it's 'another kind of' MISSING handling. The limitation is - there must be always at least 1 PERMANENT PV in a VG to hold all the metadata.

Such optional PV does not hold metadata.
Also it's based on previous work of supporting new PV flag pv-in-use.

Example of use case:
Having multiple nodes - accessing clustered VG on all nodes, but then nodes may use local devices as well - e.g.  local SSD storage user may want to use for caching.

Other use case could be attaching optional PV as USB as a member of VG.


Version-Release number of selected component (if applicable):
2.02.141

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: