Bug 2161983 - RFE: enhance lvs to accept more variant of parameters
Summary: RFE: enhance lvs to accept more variant of parameters
Keywords:
Status: NEW
Alias: None
Product: LVM and device-mapper
Classification: Community
Component: lvm2
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: LVM Team
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-18 13:59 UTC by Zdenek Kabelac
Modified: 2023-08-10 15:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: ---
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-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.


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