Comment 16 for bug 1811785

Revision history for this message
torel (torehl) wrote :

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!