NVME o nLS1046A-RDB

Sascha Hauer s.hauer at pengutronix.de
Fri Nov 8 03:05:43 PST 2024


Hi Renaud,

On Thu, Nov 07, 2024 at 01:42:18PM +0000, Renaud Barbier wrote:
> I have installed a NVME device on a LS1046A-RDB:
>       `-- pci-1957:81c0.1
>             `-- pci-126f:2263.0
>                `-- 0x00000000-0x6fc86d5fff ( 447.1 GiB): /dev/nvme0n1
> 
> My barebox version is 2022.03
> 
> Is there a way to format or mount the device from barebox?
> 
> 
> barebox at LS1046A RDB Board:/ mount -t ext4 /dev/nvme0n1 /mnt/nvme0n1/

It should work exactly like this.

> mount: No such file or directory
> running automount command 'mount nvme0n1' failed

This message is because there already is an automount command registered
for /mnt/nvme0n1. /mnt/nvme0n1 is the default path for /dev/nvme0n1. You
could have just typed 'mount nvme0n1'

does "md -s /dev/nvme0n1" work as expected?

Is it correct that there is no partition table on that disk?

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list