NVME o nLS1046A-RDB

Renaud Barbier Renaud.Barbier at ametek.com
Mon Nov 11 03:15:46 PST 2024


>From barebox:
-------------------

The node /dev/nvme0n1p1 does not exists only /dev/nvme0n1.
>From barebox, I saw that below once. 
It is not repeating at present whatever the command I use:
ERROR: ext4 ext40: probe failed: Invalid argument



> 
> does "md -s /dev/nvme0n1" work as expected?
barebox at LS1046A RDB Board:/ md -s /dev/nvme0n1
00000000: 00000000 00000000 00000000 00000000                ................
00000010: 00000000 00000000 00000000 00000000                ................
00000020: 00000000 00000000 00000000 00000000                ................
....

> 
> Is it correct that there is no partition table on that disk?
>From Linux:
---------------
nvme0      nvme0n1    nvme0n1p1

I have created a 1GB partition
[root at openware]# gdisk -l /dev/nvme0n1
GPT fdisk (gdisk) version 1.0.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/nvme0n1: 937703088 sectors, 447.1 GiB
Model: SM681GEF AGS
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 1FC28552-4807-4EF9-B191-D7C17548F7F9
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 937703054
Partitions will be aligned on 2048-sector boundaries
Total free space is 935605868 sectors (446.1 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         2099200   1024.0 MiB  8300  Linux filesystem


[root]# mount -t ext4 /dev/nvme0n1p1 /mnt
[ 1719.613897] EXT4-fs (nvme0n1p1): mounted filesystem 676323e3-52d3-4352-9f94-7ca67e519f1d r/w with ordered data mode. Quota mode: disabled.
[root]# ls /mnt/
bin         dev         home        linuxrc     mnt         root        sbin        sys         usr
boot        etc         lib         lost+found  proc        run         srv         tmp         var

> 
> Sascha
> 
> --
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       |
> https://urldefense.com/v3/__http://www.pengutronix.de/__;!!HKOSU0g!Eb
> HLq7boyynRkd2Ikw5fIfA6sIstILSQg9LnoksyTtzNL8N6AL0jY58qS8CREAKjqs3
> E5QWQDBuvPPzxm3PujIi_Ag$   |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list