M.2 NVME Not Detected in GUI

flyingcow

Cadet
Joined
Oct 15, 2023
Messages
4
Hello!

I've been digging through a number of threads since this seems to be a somewhat common issue, but I feel like I've ticked all the boxes in other threads without success. I'm new to TrueNAS, but so far have been having good luck.

I am building this NAS on a 5 year old Dell XPS 8930. I have a 512GB SATA SSD for boot, and 3x4TB in Raidz1 for a pool. After getting things up and running, I added a 2TB NVME Samsung 980 on the motherboard to use as an application pool. At boot, the BIOS detects all 4 SATA drives and the NVME SSD. The motherboard documentation states it's a PCIe 3.0 M.2 slot, and the 980 is a PCIe drive. Nothing is in the PCIe 4 lane slot on the motherboard. There is a graphics card in the 16 lane slot.

In the GUI, the NVME drive does not appear. The only thing listed in "Unassigned Disks" is the on board USB card reader (weird). The connection from the USB reader does feed back into a USB connector on the motherboard. As the BIOS sees all 5 drives, I'm operating under the assumption that I'm not sharing SATA lanes or PCIe in the background, but could I be wrong? The NVME SSD is new in box and wasn't populated with any data beforehand. Thoughts on a troubleshooting path?

Thanks so much!
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
First, you might try and see if the NVMe drive shows up from the command line. I don't remember which tools are available, (what I use for my Gentoo Linux desktop might not be in TrueNAS SCALE). Could be drive is partitioned and the GUI thinks it is in use.

Also try booting a live Linux distro and see if it recognizes the NVMe drive. If not, it's likely something to do with your system board. If a live Linux distro does recognize the NVMe drive, then it is TrueNAS SCALE specific.
 

flyingcow

Cadet
Joined
Oct 15, 2023
Messages
4
Thanks much! I'm on the road for work this week, so I'll post more next steps on Friday evening or Saturday. TrueNAS does not see the NVME drive in the CLI. I'll try a ubuntu thumb drive boot Friday.

storage disk query provided this:

Code:
+------------------------------------------------+------+-----------+--------+-----------------+------------------+---------------+-------------+--------------+------------+--------------+-------------+--------------+------------+----------+------------+---------------+---------------------------+--------------+------+----------------------+-----+---------+-----------+----------------+--------+
| identifier                                     | name | subsystem | number | serial          | lunid            | size          | description | transfermode | hddstandby | advpowermgmt | togglesmart | smartoptions | expiretime | critical | difference | informational | model                     | rotationrate | type | zfs_guid             | bus | devname | enclosure | supports_smart | pool   |
+------------------------------------------------+------+-----------+--------+-----------------+------------------+---------------+-------------+--------------+------------+--------------+-------------+--------------+------------+----------+------------+---------------+---------------------------+--------------+------+----------------------+-----+---------+-----------+----------------+--------+
| {serial}058F63666485                           | sde  | scsi      | 2112   | 058F63666485    | <null>           | <null>        |             | Auto         | ALWAYS ON  | DISABLED     | true        |              | <null>     | <null>   | <null>     | <null>        | Card_Reader               | <null>       | HDD  | <null>               | USB | sde     | <null>    | <null>         | <null> |
| {serial_lunid}ZW60P8T4_5000c500e6c11a08        | sda  | scsi      | 2048   | ZW60P8T4        | 5000c500e6c11a08 | 4000787030016 |             | Auto         | ALWAYS ON  | DISABLED     | true        |              | <null>     | <null>   | <null>     | <null>        | ST4000VN006-3CW104        | 5400         | HDD  | 12871602793106385763 | ATA | sda     | <null>    | <null>         | <null> |
| {serial_lunid}ZW60PD6Z_5000c500e6c05137        | sdb  | scsi      | 2064   | ZW60PD6Z        | 5000c500e6c05137 | 4000787030016 |             | Auto         | ALWAYS ON  | DISABLED     | true        |              | <null>     | <null>   | <null>     | <null>        | ST4000VN006-3CW104        | 5400         | HDD  | 13126511104143450097 | ATA | sdb     | <null>    | <null>         | <null> |
| {serial_lunid}ZW60PCTX_5000c500e6bfdf14        | sdc  | scsi      | 2080   | ZW60PCTX        | 5000c500e6bfdf14 | 4000787030016 |             | Auto         | ALWAYS ON  | DISABLED     | true        |              | <null>     | <null>   | <null>     | <null>        | ST4000VN006-3CW104        | 5400         | HDD  | 13228426561984006714 | ATA | sdc     | <null>    | <null>         | <null> |
| {serial_lunid}S6PXNJ0W610666H_5002538f33663d19 | sdd  | scsi      | 2096   | S6PXNJ0W610666H | 5002538f33663d19 | 500107862016  |             | Auto         | ALWAYS ON  | DISABLED     | true        |              | <null>     | <null>   | <null>     | <null>        | Samsung_SSD_870_EVO_500GB | <null>       | SSD  | <null>               | ATA | sdd     | <null>    | <null>         | <null> |
+------------------------------------------------+------+-----------+--------+-----------------+------------------+---------------+-------------+--------------+------------+--------------+-------------+--------------+------------+----------+------------+---------------+---------------------------+--------------+------+----------------------+-----+---------+-----------+----------------+--------+


get_unused also only reports back the card reader:

Code:
[truenas]> storage disk get_unused join_partitions=true
+----------------------+------+-----------+--------+--------------+--------+------+-------------+--------------+------------+--------------+-------------+--------------+------------+----------------+--------+----------+------------+---------------+-------------+--------------+------+----------+----------+-----+----------------+------------------------+------------------+---------+--------------+
| identifier           | name | subsystem | number | serial       | lunid  | size | description | transfermode | hddstandby | advpowermgmt | togglesmart | smartoptions | expiretime | enclosure_slot | passwd | critical | difference | informational | model       | rotationrate | type | kmip_uid | zfs_guid | bus | exported_zpool | unsupported_md_devices | duplicate_serial | devname | partitions   |
+----------------------+------+-----------+--------+--------------+--------+------+-------------+--------------+------------+--------------+-------------+--------------+------------+----------------+--------+----------+------------+---------------+-------------+--------------+------+----------+----------+-----+----------------+------------------------+------------------+---------+--------------+
| {serial}058F63666485 | sde  | scsi      | 2112   | 058F63666485 | <null> |      |             | Auto         | Always On  | Disabled     | true        |              | <null>     | <null>         |        | <null>   | <null>     | <null>        | Card_Reader | <null>       | HDD  | <null>   | <null>   | USB | <null>         | <null>                 | <empty list>     | sde     | <empty list> |
+----------------------+------+-----------+--------+--------------+--------+------+-------------+--------------+------------+--------------+-------------+--------------+------------+----------------+--------+----------+------------+---------------+-------------+--------------+------+----------+----------+-----+----------------+------------------------+------------------+---------+--------------+
 

Tony-1971

Contributor
Joined
Oct 1, 2016
Messages
147
Hello,
Could you please try nvme command like:
Code:
root@tn-xeond[~]# nvme list 
Node             SN                   Model                                    Namespace Usage                      Format           FW Rev 
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1     S6WRNS0W413337M      Samsung SSD 980 PRO with Heatsink 2TB    1           1.40  TB /   2.00  TB    512   B +  0 B   5B2QGXA7
/dev/nvme1n1     S463NF0M904360W      Samsung SSD 970 PRO 512GB                1         511.14  GB / 512.11  GB    512   B +  0 B   1B2QEXP7
/dev/nvme2n1     S463NF0M904318E      Samsung SSD 970 PRO 512GB                1         511.14  GB / 512.11  GB    512   B +  0 B   1B2QEXP7


Best Regards,
Antonio
 

flyingcow

Cadet
Joined
Oct 15, 2023
Messages
4
Hello,
Could you please try nvme command like:
Code:
root@tn-xeond[~]# nvme list
Node             SN                   Model                                    Namespace Usage                      Format           FW Rev
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1     S6WRNS0W413337M      Samsung SSD 980 PRO with Heatsink 2TB    1           1.40  TB /   2.00  TB    512   B +  0 B   5B2QGXA7
/dev/nvme1n1     S463NF0M904360W      Samsung SSD 970 PRO 512GB                1         511.14  GB / 512.11  GB    512   B +  0 B   1B2QEXP7
/dev/nvme2n1     S463NF0M904318E      Samsung SSD 970 PRO 512GB                1         511.14  GB / 512.11  GB    512   B +  0 B   1B2QEXP7


Best Regards,
Antonio
It looks like I can't get the nvme-cli in TrueNAS (or i should say, I don't know how to when apt is disabled in the shell). Best I've found is the storage disk command posted above. Any way to expand on that?
 

PhilD13

Patron
Joined
Sep 18, 2020
Messages
203
Try sudo nvme list as the command and enter the admin password when asked. I found out that is what I have to do for most commands I'm asked to run.

The m.2 slot on the motherboard might be shared with either the blue or white SATA slot. I saw a reference to a dell board sharing SATA with the m.2 slot. Try moving the SATA drives to the black connectors and swapping the third one to the other color slot or remove it for the test and see if Truenas sees the m.2 then.
 

flyingcow

Cadet
Joined
Oct 15, 2023
Messages
4
Try sudo nvme list as the command and enter the admin password when asked. I found out that is what I have to do for most commands I'm asked to run.

The m.2 slot on the motherboard might be shared with either the blue or white SATA slot. I saw a reference to a dell board sharing SATA with the m.2 slot. Try moving the SATA drives to the black connectors and swapping the third one to the other color slot or remove it for the test and see if Truenas sees the m.2 then.

Well it was that simple!

Code:
admin@truenas[~]$ sudo nvme list
[sudo] password for admin:
Node             SN                   Model                                    Namespace Usage                      Format           FW Rev 
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
admin@truenas[~]$


So yeah... looks like it has no idea it's there. On Friday, I'll try a Ubuntu boot. I can't easily move sata ports around since all 4 on the motherboard are in use (3 for the zraid1 pool and one for boot). I guess I could try to boot off of a USB or track down a raid card I can flash. If I'm motherboard limited, I'm not heartbroken. Beggar's can't be choosers on a free box, and this is really a test bed to let me learn before I spec out a more permanent machine.
 
Top