hah, bingo, the default kernel package for VMs doesn't have nd_pmem or
nd_btt. I had to install linux-modules-extra-5.4.0-12-generic.

Now it works:
ubuntu@focal-nvdimm:~$ sudo ndctl create-namespace 
{
  "dev":"namespace1.0",
  "mode":"fsdax",
  "map":"dev",
  "size":"1006.00 MiB (1054.87 MB)",
  "uuid":"53defad5-c13c-4f3c-abbb-d9152db43c69",
  "sector_size":512,
  "align":2097152,
  "blockdev":"pmem1"
}


Thanks a lot, Dan!

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

Title:
  [MIR] ndctl

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to