Failed to mount pmem device in qemu
I'm using qemu to build cxl memory environment. But I can't mount the newly generated pmem file to the file system using mount -o dax command.
The fdisk -l command shows below output
Disk /dev/pmem0: 990 MiB, 1038090240 bytes, 2027520 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
It seems that pmem file is successfully detected by os.
But when I execute sudo mount -o dax /dev/pmem0 /mnt/pmem, I get the below output
[ 3324.201024] squashfs: Unknown parameter 'dax' [ 3324.201727] fuseblk: Unknown parameter 'dax' mount: /mnt/pmem: wrong fs type, bad option, bad superblock on /dev/pmem0...
Does qemu support mount with dax mode?
Edited by cwk