cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a namespace

rainer_d
New Contributor

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.

 

 

 

2 REPLIES 2

SolidigmGleb
Moderator
Moderator

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:

  1. 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.

  2. 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.

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

    bash
     
    /usr/local/sbin/nvme create-ns /dev/nvme0 -s 150031139328 -c 200041519104 -d 0 -m 0 -f 0 -u <uuid>
  4. Check for Existing Namespaces: Run the following command to confirm that there aren’t any pre-existing namespaces that might interfere:

    bash
     
    nvme list-ns /dev/nvme0
  5. Verify Namespace List After Creation: After executing the nvme create-ns and nvme attach-ns commands, verify that the namespace is recognized by running:

    bash
     
    nvme list /dev/nvme0
  6. 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

SolidigmGleb_0-1731064163101.png

 

 

rainer_d
New Contributor

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