For the server, the nfs-server.service service should suffice: nfs-server.service If enabled, nfs service is started together with dependencies such as mountd, statd, rpc.idmapd This is a "service" file rather than a "target" (which is the normal grouping construct) so that systemctl start nfs-server can work (if no type is given, ".service" is assumed).
That being said, I quickly tried on a focal vm and after enabling nfs-server.service, and even rebooting, statd isn't running. I'll dig in. ** Changed in: nfs-utils (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1956787 Title: nfs v3 locking fails - rpc-statd not started after minor upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1956787/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs