Yeah! I tried to copy/paste the code in the pre and post-stop phase, but no luck.Seems to me that already happens in the ‘post-start’ phase..
Thanks anyway
Last edited:
Yeah! I tried to copy/paste the code in the pre and post-stop phase, but no luck.Seems to me that already happens in the ‘post-start’ phase..
Now tried with Windows Server 2019 and in the first boot works fine.Did you try with something else beside Debian!?
-numa node
from the line below.my $vfs_args = "-object memory-backend-memfd,id=mem,size=$conf->{memory}M,share=on -numa node,memdev=mem";
Yes! Same here.Btw i removed-numa node
from the line below.
Perl:my $vfs_args = "-object memory-backend-memfd,id=mem,size=$conf->{memory}M,share=on -numa node,memdev=mem";
I can mount now, without superblock errors. but still hanging on vm reboots.
That the mem size you gave 4096 is not the same as the vm has?What this error message suppose to meant?
vfs_args: -object memory-backend-memfd,id=mem,size=4096M,share=on -numa node,memdev=mem -chardev socket,id=char0,path=/run/virtiofsd/104-mnt_104.sock -device vhost-user-fs-pci,chardev=char0,tag=mnt_104
kvm: total memory for NUMA nodes (0x200000000) should equal RAM size (0x100000000)
TASK ERROR: start failed: QEMU exited with code 1
/usr/libexec/virtiofsd --version
virtiofsd 1.8.0-dirty
Well done, mister!Now it works like a charm, even rebooting isn't a problem any more.
How did you compile it??Now it works like a charm, even rebooting isn't a problem any more.
I just downloaded the last version and copied it to the server.How did you compile it??
I already tried and always complain about cargo, rust and stuff!
Ah I see! There is a binary already compiled!I just downloaded the last version and copied it to the server.
apt installed 1.7.0;
This is 1.8.0-dirty, and it seems to fix it all for men, but not sure about the dirty part!
Might take long before it makes it way into Debian 12 stable, but I take my changes for now.
2023-09-26T10:54:04.298819-03:00 pve100 QEMU[11968]: kvm: Failed to write msg. Wrote -1 instead of 20.
2023-09-26T10:54:04.298922-03:00 pve100 QEMU[11968]: kvm: Failed to set msg fds.
2023-09-26T10:54:04.298976-03:00 pve100 QEMU[11968]: kvm: vhost VQ 1 ring restore failed: -22: Invalid argument (22)
2023-09-26T10:54:04.299026-03:00 pve100 QEMU[11968]: kvm: Failed to set msg fds.
2023-09-26T10:54:04.299081-03:00 pve100 QEMU[11968]: kvm: vhost VQ 0 ring restore failed: -22: Invalid argument (22)
2023-09-26T10:54:04.299122-03:00 pve100 QEMU[11968]: kvm: Error starting vhost: 22
2023-09-26T10:54:04.299163-03:00 pve100 QEMU[11968]: kvm: Failed to set msg fds.
2023-09-26T10:54:04.299203-03:00 pve100 QEMU[11968]: kvm: vhost_set_vring_call failed 22
2023-09-26T10:54:04.299242-03:00 pve100 QEMU[11968]: kvm: Failed to set msg fds.
2023-09-26T10:54:04.299291-03:00 pve100 QEMU[11968]: kvm: vhost_set_vring_call failed 22
2023-09-26T10:54:04.299493-03:00 pve100 systemd[1]: virtiofsd-mnt_210@210.service: Deactivated successfully.
2023-09-26T10:54:04.313866-03:00 pve100 QEMU[11968]: kvm: Unexpected end-of-file before all data were read
Ubuntu 22.04
all works fine, also when I reboot the vm.# Mounts for virtiofs
mnt_pve_cephfs_download /srv/cephfs-mounts/download virtiofs defaults 0 0
mnt_pve_cephfs_multimedia /srv/cephfs-mounts/multimedia virtiofs defaults 0 0
> mount
mnt_pve_cephfs_multimedia on /srv/cephfs-mounts/multimedia type virtiofs (rw,relatime)
mnt_pve_cephfs_download on /srv/cephfs-mounts/download type virtiofs (rw,relatime)
I don't follow? Old binary?Are you sure the old binary is unloaded!?
Perhaps it was still loaded in memory!I don't follow? Old binary?
Did you meant the /usr/libexec/virtiofsd ??
I will try with ubuntu.
BUt it's a new installation.Perhaps it was still loaded in memory!