-
Notifications
You must be signed in to change notification settings - Fork 63
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
ipmctl create fail #160
Comments
I am not sure why ndctl is not able to delete disabled namespaces. I would ask on their GitHub page: https://github.com/pmem/ndctl/issues Maybe there is a way to clear the LSA with ndctl like there is with ipmctl ("ipmctl delete -dimm -pcd LSA"). This command for ipmctl intentionally doesn't work in OS because we don't want to mess up Linux's understanding of the namespaces. However if you reboot to the UEFI HII menu we have an option to delete namespaces there. And if necessary, the delete -dimm command above will work on the UEFI shell, you just need our UEFI build of ipmctl. And to echo the other thread, you delete regions by creating a new goal, which will reconfigure the modules on the next boot (delete the old regions and create new ones). |
Have you tried ndctl zero-labels command?
|
You could try adding the -v option to the ndctl command to get more verbose output. That might aid in understanding why the command is failing. |
hopefully it helps to you. |
Hi,
I am new to use Optane DC. I try to use APP Direct region.
I run
sudo ipmctl create -goal PersistentMemoryType=AppDirect
It reports that
So I tried to delete the existing region and namespace follow #107. But I failed to delete regions.
I run
ndctl destroy-namespace -f all
. It reportsAnd
sudo ipmctl delete -goal
getsThe configurations in my server is below:
sudo ipmctl show -a -region
---ISetID=0x6413da90c4848a22---
SocketID=0x0000
PersistentMemoryType=AppDirectNotInterleaved
Capacity=126.000 GiB
FreeCapacity=0.000 GiB
HealthState=Healthy
DimmID=0x0101
---ISetID=0x7213da905f848a22---
SocketID=0x0001
PersistentMemoryType=AppDirectNotInterleaved
Capacity=126.000 GiB
FreeCapacity=0.000 GiB
HealthState=Healthy
DimmID=0x1101
ndctl list -Ni
[
{
"dev":"namespace3.0",
"mode":"raw",
"size":0,
"uuid":"00000000-0000-0000-0000-000000000000",
"sector_size":512,
"state":"disabled"
},
{
"dev":"namespace2.0",
"mode":"raw",
"size":0,
"uuid":"00000000-0000-0000-0000-000000000000",
"sector_size":512,
"state":"disabled"
}
]
ndctl list -Ri
[
{
"dev":"region1",
"size":0,
"available_size":0,
"type":"blk",
"state":"disabled",
"persistence_domain":"unknown"
},
{
"dev":"region3",
"size":135291469824,
"available_size":135291469824,
"type":"pmem",
"iset_id":3230769783061020672,
"persistence_domain":"unknown"
},
{
"dev":"region0",
"size":0,
"available_size":0,
"type":"blk",
"state":"disabled",
"persistence_domain":"unknown"
},
{
"dev":"region2",
"size":135291469824,
"available_size":135291469824,
"type":"pmem",
"iset_id":-660340293292589056,
"persistence_domain":"unknown"
}
]
The text was updated successfully, but these errors were encountered: