Re: NFS-mounting from a QEMU/KVM guest

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

 



On Sat, 2019-11-16 at 20:35 -0400, George N. White III wrote:
> > I have an F31 guest (fedora30) running in QEMU/KVM on an F31 host
> > (Bree). I want to mount a host directory via NFS in the guest. I set
> > this up a long time ago and it has worked through several Fedora
> > releases without issue, but in a fit of spring cleaning I did a fresh
> > install of F31 rather than my usual update, so of course now it doesn't
> > work. Clearly I did something right back in the day and have now
> > forgotten what it was.
> >
> 
> There have been changes to NFS, particularly, NFSv4, but also some
> measures to make it less insecure.   Meanwhile, 9p is widely used to
> share files between VM guests and hosts (mostly because it needs
> fewer host resources), see:
>   https://www.linux-kvm.org/page/9p_virtio which gives an example
> for Fedora 15.  https://wiki.qemu.org/Documentation/9psetup looks
> more current.  It begins with kernel config, which should not be
> needed with Fedora.   http://blog.allenx.org/2015/07/03/virtio-9p-note
> may also be helpful.
> https://unix.stackexchange.com/questions/240281/virtfs-plan-9-vs-nfs-as-tool-for-share-folder-for-virtual-machine
> has
> some pros and cons for NFS versus 9p in a production
> environment, but several years old now.
> 
> Unless you have a specific need for NFS it may be better use of your
> time to configure 9p passthru.

Yes, I've looked casually at 9P in the past but didn't find the
documentation very helpful. NFS is enough for me at the moment as
performance is not really an issue.

Thanks all the same.

poc
_______________________________________________
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



[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