virtiofs with nfs ?

st6f9n

Active Member
Feb 15, 2019
23
1
43
Hello,

I've made a shared folder with virtiofs (passthrough), but I cannot export this folder with NFS at the VM:

rpc.mountd[1358]: Cannot export /export/home, possibly unsupported filesystem or fsid= required

I can mount this home directory over nfs, but it is empty.

Any Ideas ?

Thanks Stefan
 
Hello,

you want to share a directory inside a virtual machine using NFS after passing it to the VM with virtiofs, right?

I tried this with virtio-9p and virtiofs. These filesystems unfortunately do not support NFS.
 
Hello,
thank you for posting the content from red hat, only I doubt the given cause. Clearly NFS V2/3 use persistent file handles. But V4 should be able to provide volatile file handles. The problem I have is that I cannot find any docs for linux how you force NFSv4 to always give volatile filehandles.