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

nvme list display "Failed to scan topology: No such file or directory" when there is no nvme disks

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.5
    • nvme-cli
    • None
    • None
    • None
    • sst_storage_io
    • ssg_platform_storage
    • 4
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Please provide the package NVR for which bug is seen:

      kernel-5.14.0-427.7.1.el9_4.x86_64
      nvme-cli-2.6-5.el9.x86_64

      How reproducible:

      100%

      Steps to reproduce

      1.  do nvme list on one system w/o NVMe SSD
      2.  [root@storageqe-15 .build]# nvme list
        Failed to scan topology: No such file or directory
      3.  

      Expected results

      Actual results

      Here is the output from upstream nvme-cli:

      [root@storageqe-15 .build]# ./nvme --version
      nvme version 2.8 (git 2.8-79-g1557239)
      libnvme version 1.8 (git 1.8-33-g93f83b9)
      [root@storageqe-15 .build]# ./nvme list
      [root@storageqe-15 .build]#
      

            mlombard@redhat.com Maurizio Lombardi
            yizhan@redhat.com Yi Zhang
            Maurizio Lombardi Maurizio Lombardi
            Yi Zhang Yi Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: