Bug 1268817 - [RFE] Add support to repair cache LVs when VG is broken
Summary: [RFE] Add support to repair cache LVs when VG is broken
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Zdenek Kabelac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-05 11:33 UTC by Zdenek Kabelac
Modified: 2023-08-02 02:20 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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