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

"No command with matching syntax recognised" should likely mention "vgname missing"

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-9.3.0
    • lvm2
    • None
    • Low
    • rhel-sst-logical-storage
    • ssg_filesystems_storage_and_HA
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      The reality is this cmd is just missing a vgname to act on, however the implication to the user is that the flag/syntax is wrong.

      [root@virt-497 ~]# vgimportdevices --foreign
      No command with matching syntax recognised. Run 'vgimportdevices --help' for more information.

      [root@virt-497 ~]# vgimportdevices --foreign devfile_VG
      Added 6 devices to devices file.

      kernel-5.14.0-362.3.1.el9_3 BUILT: Wed Sep 13 10:40:57 AM CEST 2023
      lvm2-2.03.21-3.el9 BUILT: Thu Jul 13 08:50:26 PM CEST 2023
      lvm2-libs-2.03.21-3.el9 BUILT: Thu Jul 13 08:50:26 PM CEST 2023

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

                Created:
                Updated:
                Resolved: