On 2/25/25 11:04 AM, Takeshi Nishimura wrote: > how can I run 4 separate NFSv4.0/4.1/4.2 servers on 4 separate TCP > ports, say 2049, 12049, 22049, 32049, on the same Linux kernel, and > have a separate exports file for each of them? This question has been asked in the past. We've explored implementing it with a single NFSD instance, but it looks difficult to impossible without massive code changes. The solution we recommend is to run separate NFSD instances in guests (containers or qemu). The host system might provide a NAT routing service that makes the guests appear on the same IP address but different ports. This has the benefit of providing administrative isolation between the NFS services. It would work well with NFSv4, but would be somewhat awkward for NFSv2/3 due to the required use of auxiliary protocols such as MNT and NLM (and of course rpcbind). -- Chuck Lever