Bug 1071225 - [RFE] Add support for easy conversion of normal LV to thin volume
Summary: [RFE] Add support for easy conversion of normal LV to thin volume
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Zdenek Kabelac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-28 10:22 UTC by Zdenek Kabelac
Modified: 2023-08-02 02:20 UTC (History)
11 users (show)

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


Attachments (Terms of Use)

Description Zdenek Kabelac 2014-02-28 10:22:45 UTC
Description of problem:

Add support for converting a normal LV into a thin volume, where the LV will be used as data volume for thin pool.

Currently the user can only use 'external-origin' feature, which uses normal LV as a read-only origin for unprovisioned blocks.

Also we might be eventually able to even convert thin-volume into a normal LV for the case there is only a single range-mapping for a thin LV (in terms of kernel thin metadata).

This would allow very easy use of temporary thin volumes instead of old-snapshot.

Estimated syntax to convert normal LV into thin LV

lvconvert -T vg/normal_lv   [--poolmetadasize,--chunksize... ]

Estimated syntax to convert thin LV into a normal LV (if possible)

lvconvert --type linear vg/thin_lv

I assume the internal logic may allow to use even options like 
-m0 or --type mirror, --type raid -  to convert thin into all other traditional
old-school formats....

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


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