Tested latest kernel 4.15.0-72-generic on bionic.

root@srl-mds1:~# dpkg -l | grep -i ndctl
ii  libndctl6                             61.2-0ubuntu1~18.04.1                 
          amd64        Utility library for managing the libnvdimm subsystem
ii  ndctl                                 61.2-0ubuntu1~18.04.1                 
          amd64        Utility for managing the nvdimm subsystem

root@srl-mds1:~# ndctl create-namespace -e "namespace0.0" -m fsdax -f -vvv
enable_labels:945: region0: failed to initialize labels
namespace_reconfig:977: region0: no idle namespace seed
failed to reconfigure namespace: No such device
root@srl-mds1:~# 

But if I add --no-autolabel it works

root@srl-mds1:~# ndctl create-namespace --no-autolabel --mode fsdax --map dev 
-e namespace0.0 -f -vvv
{
  "dev":"namespace0.0",
  "mode":"fsdax",
  "map":"dev",
  "size":"189.00 GiB (202.94 GB)",
  "uuid":"4c9523f5-8442-4356-9133-0e48c88c8d8f",
  "sector_size":512,
  "blockdev":"pmem0",
  "numa_node":0
}
root@srl-mds1:~# ndctl create-namespace --no-autolabel --mode fsdax --map dev 
-e namespace1.0 -f -vvv
{
  "dev":"namespace1.0",
  "mode":"fsdax",
  "map":"dev",
  "size":"189.00 GiB (202.94 GB)",
  "uuid":"2a16dd16-df10-4737-abb5-060266070d7e",
  "sector_size":512,
  "blockdev":"pmem1",
  "numa_node":1
}

Bionic LTS kernel still needs kernel fix.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1811785

Title:
  NVDIMM-N doesn't work properly on Dell EMC PowerEdge R840

To manage notifications about this bug go to:
https://bugs.launchpad.net/ndctl/+bug/1811785/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to