-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong naming of controllers #455
Comments
linked to issue 454 |
As far as the names goes, having a different number on nvme than its namespaces, nvmeYn1, is an artifact of how the nvme native multipathing works. The namespaces inherit the subsystem identifier and the controller handles use their controller identifier. |
@keithbusch
output: The problem does not occur with kernel 4.4. |
I think you're misunderstanding what I'm saying. The name, "nvme0" has no relation to "nvme0n1". If you want to preserve that relationship, in your kernel config, make sure CONFIG_NVME_MULTIPATH is not enabled. |
Or kernel param, nvme_core.multipath=0, should do the same thing. |
@keithbusch |
I'm a bit disconnected from the group that makes them, so I'm not sure if the firmware that enables multi-namespace is released. I'll ping some people and see which products, if any support the feature. |
The response I received is that the feature is currently under development, but no shipping products support it at this time. |
Hi Keithbusch
Very useful info! Cheers |
When nvme multipath is enabled, the relationship among named devices is much easier to see through /sys/class/nvme/ rather than through /dev/. The nvme multipath is really efficient so it's great to use when you have such capabilities in nvme controllers. We had to change the namespace's parent device to the subsystem rather than the controller for that, so the naming numerals had to be different. This change has caused a bit of confusion, but you can safely disable multipathing if you haven't got dual/multi-port controllers. |
Thx again, very helpful to get your comments! |
Thank you very much for the quick feedback. In an Intel forum I read that support for the DC P4510 will be provided in a future firmware. I hope it won't take too long. |
Dear Maintainers,
We tried to replace the default namespace of 8 TB on a INTEL SSDPE2KX080T8 with 2 namespaces of 4 TB.
We had several strange issue with recent kernels.
On SLES12 SP3 (4.4.162-94.72-default #1 SMP Mon Nov 12 18:57:45 UTC 2018 (9de753f) x86_64 x86_64 x86_64 GNU/Linux)
with nvme-cli v1.2 we could delete the ns but we could create only one ns. This seems to be a limitation from intel.
However, recreating the ns with the original size gave a NS_INSUFFICIENT_CAPACITY error,
but trying with a size 64 MiB smaller was successful.
On recent kernels, for ex. grml 4.19.0-1-grml-amd64 #1 SMP Debian 4.19.8-1+grml.1 (2018-12-11) x86_64 GNU/Linux
with nvme-cli v1.6 we had the same issue with lower capacity after deleting a ns.
And we also had a much serious bug: nvme-cli was sending the commands to the wrong nvme's.
For ex., a format command on nvme0 was wiping all data on nvme3 !!! (fortunately it was a test server...)
We build nvme-cli from the current master branch (v1.7.18.g637b) with the same results.
Best Regards
Francois Scheurer
The text was updated successfully, but these errors were encountered: