User Tools

Site Tools


unix:freebsd:system_builds:nfsserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
unix:freebsd:system_builds:nfsserver [2019/11/08 17:52] – [Configure and start NFS] rodolicounix:freebsd:system_builds:nfsserver [2020/04/24 22:38] rodolico
Line 75: Line 75:
 Note the mountd_flags entry. mountd is what actually handles the mount request from clients. The -r flag allows individual files to be mounted, such as swap a swap file, or a virtual image. Additional flags may be specified. See //man 5 mountd// for more information. Two nice ones are the -h and -p flags which allow you to specify the IP and Port mountd will listen on. Note the mountd_flags entry. mountd is what actually handles the mount request from clients. The -r flag allows individual files to be mounted, such as swap a swap file, or a virtual image. Additional flags may be specified. See //man 5 mountd// for more information. Two nice ones are the -h and -p flags which allow you to specify the IP and Port mountd will listen on.
  
 +===== Maintenance =====
  
 +If you need to add/remove/modify the NFS shares, create/modify any file systems on the server, then add/edit the appropriate stanzas to /etc/exports. Once you have done that, tell mountd to re-read the configuration:
 +<code bash>
 +service mountd reload
 +</code>
 +
 +At this point, the modifications will be in effect. NOTE, if you have modified a share which was mounted, you should umount it, make the changes, then remount.
 ===== Links ===== ===== Links =====
   * https://www.freebsd.org/doc/handbook/network-nfs.html   * https://www.freebsd.org/doc/handbook/network-nfs.html
unix/freebsd/system_builds/nfsserver.txt · Last modified: 2023/01/17 20:40 by rodolico