Bug 2222959

Summary: RFE: support conversion with zero and error segtypes
Product: [Community] LVM and device-mapper Reporter: Zdenek Kabelac <zkabelac>
Component: lvm2Assignee: Zdenek Kabelac <zkabelac>
lvm2 sub component: Testing QA Contact: cluster-qe <cluster-qe>
Status: POST --- Docs Contact:
Severity: low    
Priority: unspecified CC: agk, heinzm, jbrassow, msnitzer, prajnoha, zkabelac
Version: unspecifiedFlags: pm-rhel: lvm-technical-solution?
pm-rhel: lvm-test-coverage?
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
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 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.