Hi all
I want to build a project which uses persistent memory while my machine doesn't have one. So I followed the
tutorial to emulate persistent memory with dram. It worked well before I tried to create a new namespace.
I entered the command `sudo ndctl create-namespace -m dax --region=region0 --size=20G -v`. However, it showed that
`namespace_create:770: region0: insufficient capacity size: 500000000 avail: 0
failed to create namespace: Resource temporarily unavailable`.
The result of command `ndctl list --regions` is below.
{
"dev":"region0",
"size":42949672960,
"available_size":0,
"type":"pmem",
"persistence_domain":"unknown"
}
So the emulated pmem region's `available_size` is 0. How to make this area available for creating a namespace?