mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Renaud Barbier <Renaud.Barbier@ametek.com>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: NVME o nLS1046A-RDB
Date: Fri, 8 Nov 2024 12:05:43 +0100	[thread overview]
Message-ID: <Zy3wh0qqT_LY8SkR@pengutronix.de> (raw)
In-Reply-To: <BYAPR07MB4358138C14685D6A11CFF8A1EC5C2@BYAPR07MB4358.namprd07.prod.outlook.com>

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@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 |



  reply	other threads:[~2024-11-08 11:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-07 13:42 Renaud Barbier
2024-11-08 11:05 ` Sascha Hauer [this message]
2024-11-11 11:15   ` Renaud Barbier
2024-11-12  7:57     ` Sascha Hauer
2024-11-12 11:48       ` Renaud Barbier
2024-11-11 11:30 ` Ahmad Fatoum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zy3wh0qqT_LY8SkR@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=Renaud.Barbier@ametek.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox