Make the internal nvme drive useable?

Hi, newbie here.
I'm just learning OpenWrt basics, I have very basic linux background, so please be patient. I inserted new nvme m.2 drive to the box and would like it to be used as a NAS, nfs storage later. So, how do I achieve the first part for now.
Model: OpenWrt One
Architecture ARMv8 Processor rev 4
Firmware OpenWrt 24.10.0-rc5

In the /dev I can see the nvme0 and nvme0n1 (what that represents?)
also,
root@OpenWrt:/dev# lspci
00:00.0 PCI bridge: MEDIATEK Corp. Device 1f32 (rev 01)
01:00.0 Non-Volatile memory controller: Sandisk Corp PC SN740 NVMe SSD (DRAM-less) (rev 01)
I suppose I need to format it first so how do I do that?
Thank you.

https://openwrt.org/docs/guide-user/storage/start/

2 Likes

If not already done, you need i install kmod-nvme and a bunch of other utilities to make use of the drive.

See also the Wiki:

https://openwrt.org/docs/guide-user/storage/usb-drives

1 Like

Thanks for that.
Should I be worried?

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency libuci20130104 for block-mount
 * pkg_hash_fetch_best_installation_candidate: Packages for block-mount found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package block-mount.
 * opkg_install_cmd: Cannot install package kmod-fs-ext.

Yes, I got that one already, thank you.

kmod-fs-ext and block-mount out of the question for now. Looks like I'm stuck.
Bit dissapointing taking into account that I use OpenWrt hardware.

Did you run opkg update beforehand?

1 Like

I used
opkg update && opkg install block-mount e2fsprogs kmod-usb-storage-uas kmod-usb3 kmod-fs-ext4

so I assume yes.

See OpenWrt 24.10.0-rc5 - Fifth release candidate - #174 by Vitaliy86 and https://github.com/openwrt/openwrt/issues/17660

Could be due to RC6 being built right now. Sorry that you ran into this, but this sometimes happens with new devices / new releases. Please wait for the availability of RC6, upgrade and you should be good to go then.

3 Likes

Hi,
I understand, don't feel bad !
I just have some time to play with that stuff now.
I will try again when RC6 is out. Have a nice day.

1 Like

I'm getting now error 400 while trying upgrade to RC6 using owut. Who said life is easy?
Anyway, another issue with OpenWrt One.
Thanks.

Ok, the update to rc6 and then the instalation of the all requred packages went smooth this time :ghost:
I will continue with the ssd instalation and close this topic when completed.
Thanks for the support so far.

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