Needed --no-autolabel to get it working. New ndctl didn't help. Which is nice as I didn't have to interrupt metadata operations of the servers with nvdimm's.
# uname -ar Linux localhost 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux # ndctl create-namespace --no-autolabel --mode fsdax --map dev -e namespace0.0 -f -vvv # ndctl create-namespace --no-autolabel --mode fsdax --map dev -e namespace1.0 -f -vvv # mkfs.xfs -f -m reflink=0 -L PMEM0 /dev/pmem0 # mkfs.ext4 -L PMEM1 -F /dev/pmem1 # mount -o dax /dev/pmem1 /mnt/pmem1-ext4/ # mount -o dax /dev/pmem0 /mnt/pmem0-xfs # mount | grep dax /dev/pmem0 on /mnt/pmem0-xfs type xfs (rw,relatime,attr2,dax,inode64,noquota) /dev/pmem1 on /mnt/pmem1-ext4 type ext4 (rw,relatime,dax,data=ordered) Nice if this could be fixed in kernels above 4.15.0-62. Thx! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1811785 Title: NVDIMM-N doesn't work properly on Dell EMC PowerEdge R840 Status in ndctl: Fix Released Status in linux package in Ubuntu: Confirmed Status in ndctl package in Ubuntu: Confirmed Bug description: On ubuntu 18.04.1 : 1°) With 4.15.0-43 two default namespaces in raw mode are visible while there shouldn't be any but no settings change could be applied. root@server:~# ndctl list -R [ { "dev":"region1", "size":103079215104, "available_size":0, "type":"pmem", "numa_node":1, "persistence_domain":"unknown" }, { "dev":"region0", "size":103079215104, "available_size":0, "type":"pmem", "numa_node":0, "persistence_domain":"unknown" } ] root@server:~# ndctl list [ { "dev":"namespace1.0", "mode":"raw", "size":103079215104, "sector_size":512, "blockdev":"pmem1", "numa_node":1 }, { "dev":"namespace0.0", "mode":"raw", "size":103079215104, "sector_size":512, "blockdev":"pmem0", "numa_node":0 } ] root@server:~# ndctl create-namespace --reconfig=namespace1.0 --type=pmem --mode=sector -f libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host (256 byte) labels libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host (256 byte) labels failed to reconfigure namespace: No such device 2°) With 4.18.0-13 no active namespaces are seen which seems more coherent for non initialized NVDIMM-N with labels but no namespace can be created. Both patches (kernel & ndctl) listed in the github issue below needs to be applied in order to get them working properly. Tested against the current hwe 4.18 kernel. https://github.com/pmem/ndctl/issues/78 --- ProblemType: Bug AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Jan 15 10:55 seq crw-rw---- 1 root audio 116, 33 Jan 15 10:55 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.9-0ubuntu7.5 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 18.04 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig' MachineType: Dell Inc. PowerEdge R840 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair Package: ndctl 61.2-0ubuntu1~18.04.1 PackageArchitecture: amd64 PciMultimedia: ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 mgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/ROOT/ubuntu@/boot/vmlinuz-4.15.0-43-generic root=ZFS=rpool/ROOT/ubuntu ro ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-43-generic N/A linux-backports-modules-4.15.0-43-generic N/A linux-firmware 1.173.2 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' Tags: bionic Uname: Linux 4.15.0-43-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: True dmi.bios.date: 11/21/2018 dmi.bios.vendor: Dell Inc. dmi.bios.version: 1.3.9 dmi.board.name: 08XR9M dmi.board.vendor: Dell Inc. dmi.board.version: A01 dmi.chassis.type: 23 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvr1.3.9:bd11/21/2018:svnDellInc.:pnPowerEdgeR840:pvr:rvnDellInc.:rn08XR9M:rvrA01:cvnDellInc.:ct23:cvr: dmi.product.family: PowerEdge dmi.product.name: PowerEdge R840 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/ndctl/+bug/1811785/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp