i386/186994: Not able to create partition and mount the file system on NVMe SSD

Vijay v.motagi at samsung.com
Mon Feb 24 05:00:00 UTC 2014


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


More information about the freebsd-i386 mailing list