SSD not visible on OpenWrt One

I am setting up an OpenWrt One. I am trying without any success to mount a SSD installed on the appropriate slot.

The SSD is a Transcend 250GB M.2 2242 SSD SATA3 B+M and it has been formatted in ext4.

From the router, I can see it if I connected via the router's USB port using an adapter but not when mounted on the appropriate slot:

When connected via the adapter it shows as sda1:

root@OpenWrtMaster:~# lsblk 
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 232.9G  0 disk 
└─sda1        8:1    0 232.9G  0 part 
mtdblock0    31:0    0   256K  0 disk 
mtdblock1    31:1    0   768K  1 disk 
mtdblock2    31:2    0   512K  0 disk 
mtdblock3    31:3    0  12.5M  0 disk 
mtdblock4    31:4    0     1M  1 disk 
mtdblock5    31:5    0   255M  0 disk 
ubiblock0_4 254:0    0  10.3M  0 disk 
fit0        259:0    0   4.7M  1 disk /rom

However I do not see it when I mount it on the router's SSD slot:

root@OpenWrtMaster:~# lsblk 
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
mtdblock0    31:0    0  256K  0 disk 
mtdblock1    31:1    0  768K  1 disk 
mtdblock2    31:2    0  512K  0 disk 
mtdblock3    31:3    0 12.5M  0 disk 
mtdblock4    31:4    0    1M  1 disk 
mtdblock5    31:5    0  255M  0 disk 
ubiblock0_4 254:0    0 10.3M  0 disk 
fit0        259:0    0  4.7M  1 disk /rom

I am pretty new to this. Anybody has an idea on what I may have missed?

Are you sure the router accept SATA SSD? The slot may only accept nvme SSD. And it seems so reading this.

2 Likes

I think you are most probably right. I imagine I need to get another one. This time nvme.
Thank you for the answer.

2 Likes

And apparently I did not search well enough before, there was already a discussion I had missed with some recommendations.

Posting the reference to the post to help if anybody else is searching: "What are some good NVME drives for the OpenWrt One wireless router?"

1 Like

Something that bugged was reading in the specs: NVMe SSD (PCIe gen 2 x1). This is seriously underutilizing a standard nvme (let's say gen3 x4). But this is a CPU limitation. It is indeed enough to boot OpenWrt efficiently.

1 Like

I am running into the same issue, but I am going to have to crack open my router again to check if I am using a sata or nvme ssd...

I take it you're using the snapshot? I think the kmod_nvme was recently removed by default since the m2 slot can be used for all kinds of things.

So if you are using the snapshot be sure to select kmod_nvme.

2 Likes

kmod-nvme is including by default in 24.10.0

but 24.10.0 is not OpenWrt Master?

O wait, its sata and not nvme: you will need kmod-ata-ahci for that.

Posted at the wrong person.

Just to confirm and in case this can help others who find this thread.

I ordered a new SSD nvme from Aliexpress https://www.aliexpress.com/item/1005007078338018.html and received it today.
( PM9B1 128G 128GB M.2 2230 NVMe PCIe SSD Gen 3.0x4 Single-Sided Drive)

I mounted it and this time it just works fine.

If you need the steps to do it:

And it was all good.
Hopefully this can help others too.

3 Likes

Thanks. That was nagging on me.

  1. https://github.com/openwrt/openwrt/pull/16595

  2. https://github.com/openwrt/openwrt/commit/6c8cc862954b61d91a0c2670be4be0795c184ae5

I thought it would have been backported.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.