Bug 1268817

Summary: [RFE] Add support to repair cache LVs when VG is broken
Product: [Fedora] Fedora Reporter: Zdenek Kabelac <zkabelac>
Component: lvm2Assignee: Zdenek Kabelac <zkabelac>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: agk, bmarzins, bmr, dwysocha, heinzm, jbrassow, jonathan, lvm-team, msnitzer, pasik, 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 2015-10-05 11:33:16 UTC
Description of problem:

For now lvm2 does not support fixing of metadata when VG gets inconsistent (i.e. PV is lost)

If such lost PV contained i.e. cache-pool and user caching some LV, he gets into problematic case how to get access to such cached LV back.

Unsure about best syntax -  we could go with

lvrepair

as well as with 

lvconvert --force --uncache



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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Zdenek Kabelac 2017-09-20 14:33:03 UTC
As a 'partial' progress  lvm2 from version 2.02.175 supports  'lvconvert --repair' usage for cache & cachepool for automated usage of 'cache_repair' tool - just in-line with similar logic used for thin-pools.