Skip to content

ipmctl create fail #160

Open
Open
@Taya666

Description

@Taya666

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

The following configuration will be applied:
 SocketID | DimmID | MemorySize | AppDirect1Size | AppDirect2Size 
==================================================================
 0x0000   | 0x0101 | 0.000 GiB  | 126.000 GiB    | 0.000 GiB
 0x0001   | 0x1101 | 0.000 GiB  | 126.000 GiB    | 0.000 GiB
Do you want to continue? [y/n] y
Create region configuration goal failed: Error 124 - Namespaces exist on specified DIMMs. They have to be removed before running this command.
WARNING: Removing Namespaces will erase existing data. Please make a backup first.

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 reports

Error: destroy namespace: namespace3.0 failed to enable for zeroing, continuing

Error: destroy namespace: namespace2.0 failed to enable for zeroing, continuing

destroyed 0 namespaces

And sudo ipmctl delete -goal gets

Delete memory allocation goal from DIMM 0x0101: Error 122 - There is no goal configuration on DIMM.
Delete memory allocation goal from DIMM 0x1101: Error 122 - There is no goal configuration on DIMM.

The 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"
}
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions