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-t...
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