Unexports /srv/nfs, immediately stopping new mounts of that directory by NFS clients. Existing mounts stay alive until unmounted or the server restarts. Re-add the export with exportfs -ra after editing /etc/exports.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.