Date: Mon, 24 Feb 2014 04:57:03 GMT From: Vijay <v.motagi@samsung.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/186994: Not able to create partition and mount the file system on NVMe SSD Message-ID: <201402240457.s1O4v3Vj094656@cgiserv.freebsd.org> Resent-Message-ID: <201402240500.s1O500ob089050@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186994 >Category: i386 >Synopsis: Not able to create partition and mount the file system on NVMe SSD >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 24 05:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Vijay >Release: 9.2 >Organization: Samsung, South Korea >Environment: i386 >Description: Hello, I am trying to create partition and file system, and then mount the device for read/write, on a NVME based SSD. Using FreeBSD 9.2 version. Created a loader.config file in /boot. Added nvme_load="YES" nvd_load="YES" lines to the loader.config file. After a reboot I see my device getting listed in /dev. It shows /dev/nvme0 and /dev/nvme0ns1. After this, basic nvmecontrol commands work fine and provide all the details about the device. Next, I used the below commands to create partition and file system. But I get the errors as shown CODE: SELECT ALL gpart create -s gpt /dev/nvme0ns1 Error: Invalid argument gpart create –s gpt /dev/nvme0 Error: Invalid argument gpart show /dev/nvme0ns1 Error: No such geom. newfs /dev/nvme0ns1 Error: reserved not less than device size 0 I followed the same conventions as used for ATA devices as given in some of the examples in freebsd.org. (/dev/ada0). But it does not work for me. Could you please help me to resolve the above errors and let me know how do I give the NVMe based SSD name for the above commands? >How-To-Repeat: Just follow the same steps as specified above, the problem will be seen. >Fix: - >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402240457.s1O4v3Vj094656>