Bug 2193233 - lvmdevices --test flag message doesn't really apply to command
Summary: lvmdevices --test flag message doesn't really apply to command
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: lvm2
Version: 9.3
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: LVM Team
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-04 19:22 UTC by Corey Marthaler
Modified: 2023-08-10 15:39 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-156451 0 None None None 2023-05-04 19:26:12 UTC

Description Corey Marthaler 2023-05-04 19:22:58 UTC
Description of problem:
This is a fairly minor gripe... since lvmdevices is just a system.devices file editor, and if we're going to support the --test flag with it, then the current message of "TEST MODE: Metadata will NOT be updated and volumes will not be (de)activated." doesn't really apply to this command. Something more along the lines of "TEST MODE: system.devices file will not be altered" would be more appropriate.


[root@grant-01 ~]# lvmdevices --test --deldev /dev/sdg1
  TEST MODE: Metadata will NOT be updated and volumes will not be (de)activated.
[root@grant-01 ~]# lvmdevices --test --adddev /dev/sdg1
  TEST MODE: Metadata will NOT be updated and volumes will not be (de)activated.


Version-Release number of selected component (if applicable):
lvm2-2.03.21-1.el9    BUILT: Fri Apr 21 02:33:33 PM CEST 2023
lvm2-libs-2.03.21-1.el9    BUILT: Fri Apr 21 02:33:33 PM CEST 2023


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