-
Notifications
You must be signed in to change notification settings - Fork 139
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
fail to create devdax namespace #214
Comments
Some/most of these related issues have been fixed in newer Kernel releases. Kernel 5.1 is quite old, so if you have an option to try a newer Linux distro or a newer Kernel, that will likely resolve the problem. Notably, the incorrect 'FreeCapacity' value for Region1 was fixed in a newer Kernel (IIRC around 5.4 or 5.5).
|
Here is the message after adding
and here is what i see in
it seems i haven't enabled the debug log, but i am new for ndctl, so i don't know how to enable it |
Thanks. I'd expect to see something in dmesg. You could look for the following to see if any errors are reported.
Regarding ndctl debug logs, you'd need to build ndctl with debugging enabled using the source code. It's not too difficult. See Installing NDCTL, DAXCTL, and CXL-CLI from Source on Linux. Personally, I'd look towards updating the OS and Kernel since that's likely what you'll need to do anyway when root cause is identified. |
I have updated the kernel to 5.19, but that issue still occurs and the incorrect 'FreeCapacity' value for Region still remains.
So i want to reinstall ndctl, but another issues occur. Steps are as below:
how can i fix it? Could you offer me some suggetions? |
What Ubuntu release are you using? The |
I was using ubuntu 16.04, but after updating to ubuntu 20.04, the "meson_options.txt:3:0: ERROR: Unknown type feature" have been fixed by updating meson
|
Thanks for the update. They must have changed the package name after I wrote the docs. I'll update the docs accordingly. Looks like they kept the Q) With the updated OS and Kernel, is the original problem still present? Make sure you're using the latest |
when i ran the command
It seems like |
I met this similar problem with you. My problem is solved after I upgraded to kernel version 5.15 |
Environment
I have already created fsdax namespace in region 0 and region 1 respectively, each of 128GB
Problem
i want to create an interleave mode on a region, just like:
I want use some of capacity to create devdax, other capacity is used for fsdax. So, first, I created fsdax namespace in region 0 and region 1 respectively by:
after command
ndctl list --namespaces --regions
, we can see:and then i tried to create devdax mode namespace, However it fails. Steps are as below:
[root@.....]# ndctl create-namespace --mode=devdax --size=100G --region=region0 --align=2m --force
libndctl: ndctl_dax_enable: dax0.0: failed to enable
Error: namespace0.1: failed to enable
failed to create namespace: No such device or address
[root@.....]# ndctl create-namespace --mode=devdax --size=100G --region=region1 --align=2m --force
Error: create namespace: namespace1.2: set_size failed: No such device or address
(by the way, I don't understand why the error message of region 0 is different from region 1)
Could any one gives me some suggestions to solve this problem? Thank you all!
The text was updated successfully, but these errors were encountered: