11-06-2024 03:22 AM
Hi,
I have a pair of Solidigm SSDs:
SOLIDIGM SSDPF2SQ800GZ
(actually two pairs)
I am trying to create namespaces on that SSD, but I am struggling with the right parameters.
/usr/local/sbin/nvme create-ns /dev/nvme0 -s 150031139328 -c 200041519104 -d 0 -m 0 -f 0
nvme attach-ns /dev/nvme0 --namespace-id=1 -controllers=0
However, while these commands succeed on the surface, there's no namespace created
nvme list /dev/nvme0
is empty.
Can someone steer me to the correct parameters for the create command?
Thanks in advance.
11-08-2024 03:11 AM
Hello rainer_d,
Thank you for your contacting Solidigm! It sounds like you’re close, but there are a few key considerations when creating namespaces on Solidigm SSDs that might help clarify the process.
First, when creating a namespace, ensure that the parameters for size (-s
) and capacity (-c
) align correctly with the drive’s specifications and intended usage. Here’s a step-by-step guide that might be helpful:
Confirm Size and Capacity Values: Double-check that the values provided for the -s
(size) and -c
(capacity) flags are suitable for the storage available on your SSD. You might want to try smaller values initially to test if a smaller namespace can be successfully created.
Use the Correct Controller ID: For the nvme attach-ns
command, ensure that --controllers=0
is actually the correct controller ID for your setup. If your SSD is connected through a specific controller, replace 0
with the correct ID.
Specify the Namespace UUID: Sometimes, explicitly setting a UUID when creating the namespace can help. You can try adding the -u
parameter with a UUID, for example:
/usr/local/sbin/nvme create-ns /dev/nvme0 -s 150031139328 -c 200041519104 -d 0 -m 0 -f 0 -u <uuid>
Check for Existing Namespaces: Run the following command to confirm that there aren’t any pre-existing namespaces that might interfere:
nvme list-ns /dev/nvme0
Verify Namespace List After Creation: After executing the nvme create-ns
and nvme attach-ns
commands, verify that the namespace is recognized by running:
nvme list /dev/nvme0
Consider Rebooting: Occasionally, namespaces might not show up immediately. A system reboot can sometimes refresh the NVMe subsystem and display newly created namespaces.
If the namespace still doesn’t appear, it could also be helpful to check for the latest firmware. (You can use our tool for updating) Feel free to share any error messages or further details if you’re still facing issues, and we’ll do our best to help.
Kind regards,
Gleb
Solidigm Customer Support
11-08-2024 03:47 AM
Hi Gleb,
th
thanks for getting back to me.
In the meantime (and because there was a certain pressure to get this working), I downloaded the "sst" tool from your website and installed it in a life-cd of GRML (the server doesn't run any of the supported OSs).
With that tool, I was able to create a new namespace that is acceptable for the OS.
Best Regards
Rainer