Skip to content

Can not rename a file or create a new folder in win11 vm and ubuntu 24 host #1573

Description

@krasimirk

In the shared folder with enabled virtio-fs service (win11 VM + ubuntu 24 host):
When I try to rename a file in the Windows Explorer, I got a windows pop-up error:
"Can't read from the source or disk"
When I try to rename a file in the command prompt, I got an error:
"A device attached to the system is not functioning."
When I try to create a folder in the Windows Explorer , I got a windows pop-up error:
Error 0x8000FFFF Catastrophic failure

What is working:

  • Creating a new file.
  • Editing and saving text file, but not MS Word file probably due to temporary files creation and renaming.
  • Copying files from Win11 FS to the shared folder.
  • Deleting files and folders.
  • Creating folder in the command prompt

To Reproduce
Create a new VM with win11 home edition under Ubuntu 24 host
Install virtio-win-0.1.217.iso
Install winfsp-2.1.25156.msi
Follow the tutorial from:
https://www.debugpoint.com/kvm-share-folder-windows-guest/

Expected behavior
Files must be able to renamed in shared folders and new folders must be created.

Screenshots
Image
Image

Image

Host:

  • Disto: Ubuntu 24.04
  • Kernel version 6.17.0-29-generic
  • QEMU version qemu-system-x86 1:8.2.2+ds-0ubuntu1.16
  • libvirt version: libvirt0:amd64 10.0.0-2ubuntu8.13
  • Shared folder under EXT4 FS

VM:

  • Tiny11 stripped down version of MS Windows 11 Home edition

Additional context
Tried:
From the reported bug:
#562
Manual startup of VirtIO-FS service

Setting permission in user permissions in the mapped Z windows device
Setting ownership in U24 folder to libvirt-qemu:libvirt-qemu and 777 permission for everyone
Readed the guide
https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/Virtiofs:-Shared-file-system

XML FileSystem in Virtual Machine Manager 4.1.0:

<filesystem type="mount" accessmode="passthrough">
  <driver type="virtiofs" queue="1024"/>
  <binary path="/usr/libexec/virtiofsd"/>
  <source dir="/data/VM/shared_folder"/>
  <target dir="shared_folder"/>
  <alias name="fs0"/>
  <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
</filesystem>

VIOFS debug log from Win11:
viofs_debug.log

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions