Bug 2161983

Summary: RFE: enhance lvs to accept more variant of parameters
Product: [Community] LVM and device-mapper Reporter: Zdenek Kabelac <zkabelac>
Component: lvm2Assignee: LVM Team <lvm-team>
lvm2 sub component: Command-line tools QA Contact: cluster-qe <cluster-qe>
Status: NEW --- Docs Contact:
Severity: unspecified    
Priority: unspecified CC: agk, heinzm, jbrassow, msnitzer, prajnoha, thornber, 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: ---
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-01-18 13:59:06 UTC
Consider ways how to enhance usability of lvs tool to allow users to use parameters in more 'free way' 

Examples of the place where this might be useful.

User may set   'vdo_use_compression'  via --vdosettings option or as  --compression or as --config or --profile, but lvs shows this parameter only as  'vdo_compression' - this seems like more or less enhanced aliasing support.

Other area could be  -  vdo_slab_size_mb with --vdosettings - where the '_mb' suffix stands for size in 'MiB' - and lvs provides  'vdo_slab_size'.with universal --units support to display sizes. But it might be useful to provide the value in exact same format as was specified in vdo_slab_size_mb parameter -  so this is not only an alias but also  'functional' variant of existing lvs option.

We have other sizing paramters that might be usable as real numbers instead of i.e. percentage value.

Limiting factor is - we should avoid listing same parameter many many time in existing 'lvs -o help' output.