Bug 2222959 - RFE: support conversion with zero and error segtypes
Summary: RFE: support conversion with zero and error segtypes
Keywords:
Status: POST
Alias: None
Product: LVM and device-mapper
Classification: Community
Component: lvm2
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Zdenek Kabelac
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-14 15:38 UTC by Zdenek Kabelac
Modified: 2023-08-10 15:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:
pm-rhel: lvm-technical-solution?
pm-rhel: lvm-test-coverage?


Attachments (Terms of Use)

Description Zdenek Kabelac 2023-07-14 15:38:28 UTC
Description of problem:

For testing purposed it might be occasionally useful to play with LVs that have 'zero' or 'error' segtype. 

Possible usecases:

lvcreate -L1000G --type zero -n lvname  vgname

lvconvert --thinpool vgname/lvname

or

lvconvert --thin  vgname/lvname

lvconvert --cachepool vgname/lvname


Allows to quickly create a thin volume with any size - that has *NO REAL* space used for backend - so clearly not usable to story *ANY REAL* data - but allow to check various performance characteristics of thin  or cache targets.

Comment 1 Zdenek Kabelac 2023-07-14 15:39:53 UTC
Mostly implemented upstream within version 2.03.22.


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