Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-8329

lvmdevices --test flag message doesn't really apply to command

    • None
    • Low
    • rhel-sst-logical-storage
    • ssg_filesystems_storage_and_HA
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      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

              lvm-team lvm-team
              cmarthal@redhat.com Corey Marthaler
              lvm-team lvm-team
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: