I’m using virtual-manager to manage a windows VM. I’d like to use virtiofs to have a shared folder. I configured it in the UI which gives the following xml
From this, I assume that the tag to mount the virtiofs would be share
After I start the VM, I can confirm that virtiofsd is running.
$ ps aux |grep virtiofsd
root 106045 0.0 0.0 5608 4000 ? S 22:55 0:00 /usr/lib/virtiofsd --fd=33 --shared-dir /data/vfs_share
root 106049 0.0 0.0 140808 3364 ? Sl 22:55 0:00 /usr/lib/virtiofsd --fd=33 --shared-dir /data/vfs_share
But when I try to mount, I get the following error:
$ sudo mount -t virtiofs share /home/hiorin/vm-share
mount: /home/hiorin/vm-share: wrong fs type, bad option, bad superblock on share, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
Here’s the relevant line in dmesg.
[ 1897.569445] virtio-fs: tag <share> not found
What am I missing ?