Hi All,
I want to destroy some redundant namespaces (namespace0.0 and 0.1) from
my system.
But it still doesn’t work even I used ‘destroy-namespace’, the result
of command looks ok, but I still could find them there. How can I remove
them so they wouldn't appear in next command 'ndctl list'?
My questions are below,
1. Is there a bug of ndctl, or just working as designed?
2. If this is correct, why there are two namespaces as *.0 and *.1 for
every single NVDIMM? BTW, I have two NVDIMMs installed on my test platform.
[root@fedora25-03 ~]# ndctl destroy-namespace namespace0.0
destroyed 1 namespace
[root@fedora25-03 ~]# ndctl destroy-namespace namespace0.1
destroyed 1 namespace
[root@fedora25-03 ~]# ndctl list -i
[
{
"dev":"namespace1.0",
"mode":"fsdax",
"size":132118478848,
"uuid":"454f9a8c-8d23-477b-a1b0-3aabb167d2f1",
"raw_uuid":"a9d87d6c-6bb8-40fa-bebc-41c0a8e029d2",
"sector_size":512,
"blockdev":"pmem1",
"name":"yhs_pmem1"
},
{
"dev":"namespace1.1",
"mode":"raw",
"size":0,
"uuid":"00000000-0000-0000-0000-000000000000",
"sector_size":512,
"state":"disabled"
},
{
"dev":"namespace0.1",
"mode":"raw",
"size":0,
"uuid":"00000000-0000-0000-0000-000000000000",
"sector_size":512,
"state":"disabled"
},
{
"dev":"namespace0.0",
"mode":"raw",
"size":0,
"uuid":"00000000-0000-0000-0000-000000000000",
"sector_size":512,
"state":"disabled"
}
]
Cheers,
Huaisheng Ye | 叶怀胜
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm