Description of problem:
Boot up a Win2019 vm with virtio fs shared dir(nfs backend),try to create/rename/delete file or folders on the file system, hit a couple of errors.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.mount a nfs dir on host.
(host)mount 10.66.8.151:/home/nfs /home/nfs_c
(nfs conf) /home/nfs *(rw,sync,no_root_squash)
2.start virtiofs daemon with shared dir on nfs mount dir
# /usr/libexec/virtiofsd --socket-path=/tmp/vhostqemu1 -o source=/home/nfs_c/virtiofs_test/ -d
3.boot up vm with vhost-user-fs-pci device
-chardev socket,id=char0,path=/tmp/vhostqemu1 \
-device vhost-user-fs-pci,chardev=char0,tag=myfs_11,bus=pci.11,queue-size=1024 \
-m 4G \
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
-numa node,memdev=mem \
4.install viofs driver,register virtiofs service and start it
C:\> sc create VirtioFsSvc binpath="(your binary location)\virtiofs.exe" start=auto
depend="WinFsp.Launcher/VirtioFsDrv" DisplayName="Virtio FS Service"
c:\> sc start VirtioFsSv
5.create and rename a file/folder on the shared volume(Z:)
6.delete a file/folder
After step 5,
Failed with "The file xxx is too large for the destination file system."
After step 6, delete succeed, but a ".nfs0000000..." file is created after refresh the windows and can't create a file/folder any more.
Can reproduce this bug on RHEL8.4.0
Could you set DTM as it was set ITR to 8.5.0?
Hit error like https://bugzilla.redhat.com/show_bug.cgi?id=1978122#c3.
Postpone to 8.6 for now as full resolution might requires changes in the virtiofsd as well.
This PR https://github.com/virtio-win/kvm-guest-drivers-windows/pull/688 should fix the bug.
Can reproduce with virtio-win-prewhql-0.1-215.
Verify with virtio-win-prewhql-0.1-216.
(In reply to xiagao from comment #9)
> Can reproduce with virtio-win-prewhql-0.1-215.
> Verify with virtio-win-prewhql-0.1-216.
In the mounted directory.
1. create a 1k txt file.
2. delete it.
-----> a ".nfs0000000..." file is created after refresh the windows
1. create a 1k txt fiel and a 29k file and rename them.
2. delete them and refresh "z:\"
-----> there is no ".nfs0000000..."