Re: How do I ShareHost Files With KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux