-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.3.0
-
None
-
None
-
rhel-sst-storage-io
-
ssg_filesystems_storage_and_HA
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
[RHEL9] libndctl: ndctl_namespace_enable: namespace1.0: failed to enable observed when create-namespace on one idle device
Version-Release number of selected component (if applicable):
ndctl-71.1-8.el9.x86_64
5.14.0-308.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1.
2.
3.
Actual results:
Found this issue during ndctl test suite: test/daxctl-devices.sh
Expected results:
Additional info:
[root@storageqe-36 ndctl-71.1]# ndctl list -RNi
{
"regions":[
{
"dev":"region1",
"size":135291469824,
"align":16777216,
"available_size":135291469824,
"max_available_extent":135291469824,
"type":"pmem",
"iset_id":1251959537459694114,
"persistence_domain":"memory_controller",
"namespaces":[
,
{ "dev":"namespace1.1", "mode":"raw", "size":0, "uuid":"00000000-0000-0000-0000-000000000000", "sector_size":512, "state":"disabled" } ]
},
{
"dev":"region0",
"size":135291469824,
"align":16777216,
"available_size":135291469824,
"max_available_extent":135291469824,
"type":"pmem",
"iset_id":8745949313713211938,
"persistence_domain":"memory_controller",
"namespaces":[
,
{ "dev":"namespace0.0", "mode":"raw", "size":0, "uuid":"00000000-0000-0000-0000-000000000000", "sector_size":512, "state":"disabled" } ]
}
]
}
[root@storageqe-36 ndctl-71.1]# ndctl destroy-namespace -f -b ACPI.NFIT namespace1.0
destroyed 1 namespace
[root@storageqe-36 ndctl-71.1]# ndctl create-namespace -b ACPI.NFIT -m devdax -fe namespace1.0 -s 256M
libndctl: ndctl_namespace_enable: namespace1.0: failed to enable
Error: create namespace: namespace1.0 failed to enable for zeroing, continuing
{
"dev":"namespace1.0",
"mode":"devdax",
"map":"dev",
"size":"250.00 MiB (262.14 MB)",
"uuid":"7eafa270-5c80-429b-b0bd-c70140d21a16",
"daxregion":{
"id":1,
"size":"250.00 MiB (262.14 MB)",
"align":2097152,
"devices":[
]
},
"align":2097152
}
- external trackers