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
and
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
Next, I used the below commands to create partition and file system. But I get the errors as shown
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?
--Thanks
Vijay
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
Code:
nvme_load="YES"
Code:
nvd_load="YES"
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:
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
--Thanks
Vijay