On 2024-06-27 16:46, ToddAndMargo via users wrote:
On 6/27/24 11:50, Frank Bures wrote:
I followed the instructions at
https://virtio-win.github.io/Knowledge-Base/Virtiofs:-Shared-file-system
to mount two different F40 host file systems from Win11 KVM guest.
However, the mount does not survive guest reboot so I wrote a little
batch file I have to execute during each guest start.
Is there a different way how to make the mount permanent?
Thanks
Frank
Hi Frank,
Are your mounts cifs or Virtiofs?
If Virtiofs, did you remember to set "VirtIO-FS Service"
to "Automatic"?
Actually, what you describe relates to single shared fs. In case of
multiple shared virtual filesystems the VirtioFsSvc is stopped permanently.
The host shares are mounted from the guest using
"C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs viofsZ
mount_tag0 Z:
where mount_tag0 is the name given to the share in KVM configuration.
Each mounted fs (Z, Y, X etc.) has its own virtiofs running.
This way you can mount any number of shares from the guest. The only
problem is that the mount does not survive guest reboot. Hence the
necessity for the batchfile.
Cheers
Frank
--
<listfrank1@xxxxxxxxx>
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue