I'm on a problem and I hope for some help?
I have a server with 5 network interfaces. One is running PPPoE from a bridged modem and gets the external IP. I'm using firewalld and dnsmasq to share that connection to the other 4 ports and devices on my network, all works fine.
I am now trying to put a virtual machine on the host, using libvirt/KVM. That works, and I have created a machine with a 512MB virtual disk for boot, and a separate 5GB disk for root. My aim is though, to move the 5GB root to an NFS root, so the VM boots off its/boot disk and pivots to an NFS root on the host. However, each time I try to mount NFS from host to client it fails, access is denied. However, from any machine elsewhere on the network it mounts.
Can I not NFS mount from host to client? Am I doing something wrong?
My reason for doing this is my host is running root (and a couple of other disks) on a nvme or SATA SSD disks with the f2fs filesystem. I'd rather the client could use the f2fs filesystem via NFS directly on the host, so the host f2fs driver can balance the wear on the SSD's, rather than a big lump of a virtual disk formatted to another FS sitting on the host's disks. It makes sense to me that if the root for the client is hosted on the f2fs filesystem directly rather than a raw disk image it will improve wear on the SSD? I'll take the NFS hit (negligible) if it means I'm being kinder to the chips, and hosting NFS over virtio (quick?!)
Has anyone done this? Any tips? Am I mad?
All machines, virtual or physical, get unique IPs from dnsmasq. I can ping from a virtual to a host, and ping google from virtual. I just cannot access the NFS shares!