XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    NVMe SSD not found when installing

    Scheduled Pinned Locked Moved Solved Hardware
    12 Posts 5 Posters 208 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ForzaF Online
      Forza @Kennet
      last edited by

      @Kennet You need to boot in UEFI mode. And secondly, you must make sure your nvme is using 512e insted of 4kn sector size. You can use nvme-cli command to check sector size.

      K 1 Reply Last reply Reply Quote 1
      • K Offline
        Kennet @Forza
        last edited by

        Hi @Forza

        Thanks for the answer.
        UEFI is enabled in the BIOS and when I boot the PC the CD drive is listed under UEFI boot options. So it must be using UEFI.
        To run the nvme-cli command I tied to run a Debian Live CD and install nvme-cli with "sudo apt-get install nvme-cli".
        It installs but when I run "sudo nvme-cli list" the list is empty.
        Any other way to tell if the drive is using 4kn sector size ?

        /Kennet

        ForzaF 1 Reply Last reply Reply Quote 0
        • ForzaF Online
          Forza @Kennet
          last edited by Forza

          That is odd. Try another bootable linux distro like Fedora that has newer kernels and tools?

          ❯ nvme list
          Node                  Generic               SN                   Model                                    Namespace  Usage                      Format           FW Rev
          --------------------- --------------------- -------------------- ---------------------------------------- ---------- -------------------------- ---------------- --------
          /dev/nvme0n1          /dev/ng0n1            123456789012         WD_BLACK SN850X HS 2000GB                0x1          2.00  TB /   2.00  TB      4 KiB +  0 B   620331WD
          

          I'd guess that most SD Samsung SSD's are 512e unless the user changes it specifically. But the fact that it is not listed when you boot a live USB is a problem. Not sure why that would be. Perhaps some other BIOS setting is available? On my servers I can opt to use UEFI firmware from the NVME device or use the generic build-in firmware.

          EDIT: Are you using too many PCIe devices? If not enough lanes are available it could be that the nvme device is not found. Another issue can be with PCIe-nvme adapters that required bifurbication..

          1 Reply Last reply Reply Quote 0
          • TeddyAstieT Offline
            TeddyAstie Vates 🪐 XCP-ng Team Xen Guru
            last edited by TeddyAstie

            Hello,

            Make sure Intel VMD is disabled (this is the hardware RAID feature of Intel, and it doesn't currently work on XCP-ng; you probably don't need it unless you are looking to make a RAID). We found some modern platforms enabling by default (which also causes issues with Windows).

            D K 2 Replies Last reply Reply Quote 1
            • D Offline
              DustinB @TeddyAstie
              last edited by

              @TeddyAstie said in NVMe SSD not found when installing:

              Hello,

              Make sure Intel VMD is disabled (this is the hardware RAID feature of Intel, and it doesn't currently work on XCP-ng; you probably don't need it unless you are looking to make a RAID). We found some modern platforms enabling by default (which also causes issues with Windows).

              Is VMD actually hardware raid or is it some bastardization of Hardware Raid?

              olivierlambertO 1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO @DustinB
                last edited by olivierlambert

                @DustinB Last time I checked, VMD is a shitty half-baked soft/hard RAID.

                ForzaF D 2 Replies Last reply Reply Quote 0
                • ForzaF Online
                  Forza @olivierlambert
                  last edited by Forza

                  @olivierlambert said in NVMe SSD not found when installing:

                  @DustinB Last time I checked, VMD is a shitting half-baked soft/hard RAID.

                  Indeed. The firmware hides pci devices behind this vmd thing. It is absolutely unstable and unfixable.

                  We have been using software raid1 for years on Intel hardware for industrial focused computers. However since Intel switched to VMD we started to get very odd problems like blue screens (windows) and spontaneous reboots and hard lockups where the raid volume wouldn't come back unless we did full power cycle. After some months we found a reproducer which we sent to our vendor, who in turn were able to reproduce it on different motherboards of different manufacturers with different chipsets supporting VMD. Until today we have not found a fix.

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    DustinB @olivierlambert
                    last edited by

                    @olivierlambert said in NVMe SSD not found when installing:

                    @DustinB Last time I checked, VMD is a shitty half-baked soft/hard RAID.

                    @Forza said in NVMe SSD not found when installing:

                    @olivierlambert said in NVMe SSD not found when installing:

                    @DustinB Last time I checked, VMD is a shitting half-baked soft/hard RAID.

                    Indeed. The firmware hides pci devices behind this vmd thing. It is absolutely unstable and unfixable.

                    Good to know, will steer well clear of it.

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      DustinB @Forza
                      last edited by

                      @Forza said in NVMe SSD not found when installing:

                      We have been using software raid1 for years on Intel hardware for industrial focused computers. However since Intel switched to VMD we started to get very odd problems like blue screens (windows) and spontaneous reboots and hard lockups where the raid volume wouldn't come back unless we did full power cycle. After some months we found a reproducer which we sent to our vendor, who in turn were able to reproduce it on different motherboards of different manufacturers with different chipsets supporting VMD. Until today we have not found a fix.

                      Yeah this doesn't sound any different from every fakeRAID that has ever existed... it's doing all of the work on the motherboard, writing little to disk and hoping for the best.

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        Kennet @TeddyAstie
                        last edited by

                        @TeddyAstie Thanks this did the trick.

                        1 Reply Last reply Reply Quote 2
                        • olivierlambertO Offline
                          olivierlambert Vates 🪐 Co-Founder CEO
                          last edited by

                          Excellent news!

                          1 Reply Last reply Reply Quote 0
                          • olivierlambertO olivierlambert marked this topic as a question
                          • olivierlambertO olivierlambert has marked this topic as solved
                          • First post
                            Last post