Bug 1305573 - [RFE] Add support for OPTIONAL PV
[RFE] Add support for OPTIONAL PV
Status: NEW
Product: Fedora
Classification: Fedora
Component: lvm2 (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: LVM and device-mapper development team
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-02-08 10:40 EST by Zdenek Kabelac
Modified: 2018-03-29 08:50 EDT (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Zdenek Kabelac 2016-02-08 10:40:03 EST
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):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Note You need to log in before you can comment on or make changes to this bug.