home_server:home_server_setup:other_services:nfs

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
home_server:home_server_setup:other_services:nfs [2020-03-22 Sun wk12 17:30] baumkphome_server:home_server_setup:other_services:nfs [2023-12-26 Tue wk52 11:37] (current) baumkp
Line 1: Line 1:
-{{tag>linux ubuntu nfs fstab server}}+{{tag>linux debian nfs fstab server}}
 ======NFS====== ======NFS======
 There are a lot of resources online for NFS (Network File System).  Nevertheless I decided to place my notes here to help me with my configuration, as there are a number of nuances that such notes will potentially assist with in the future. Sadly a number of resources I use seem out of date, not updated and/or possible subject to disappearance. There are a lot of resources online for NFS (Network File System).  Nevertheless I decided to place my notes here to help me with my configuration, as there are a number of nuances that such notes will potentially assist with in the future. Sadly a number of resources I use seem out of date, not updated and/or possible subject to disappearance.
Line 10: Line 10:
   *Havetheknowhow.com [[http://www.havetheknowhow.com/Configure-the-server/Configure-NFS.html|How to configure NFS Version 4 (NFS4) on Ubuntu Server]]   *Havetheknowhow.com [[http://www.havetheknowhow.com/Configure-the-server/Configure-NFS.html|How to configure NFS Version 4 (NFS4) on Ubuntu Server]]
   *die.net [[https://linux.die.net/man/5/exports|exports(5) - Linux man page]]   *die.net [[https://linux.die.net/man/5/exports|exports(5) - Linux man page]]
 +  *[[https://www.golinuxcloud.com/unix-linux-nfs-mount-options-example/|NFS mount options | NFS exports options | Beginners Guide]]
 +  *[[https://www.quora.com/What-are-the-differences-between-bind-mounts-and-symlink-on-Unix|What is a bind mount?]]
 +  *[[https://www.quora.com/What-are-the-differences-between-bind-mounts-and-symlink-on-Unix|What are the differences between bind mounts and symlink on Unix?]]
  
 Some other interesting nfs related commands: Some other interesting nfs related commands:
   * ''mountstats'' give client side nfs operation statistics   * ''mountstats'' give client side nfs operation statistics
   * ''showmount'' Shows the clients (IP addresses) mounted to the nfs server   * ''showmount'' Shows the clients (IP addresses) mounted to the nfs server
-  * ''nfsstat'' Shows some nfs server server statistics +  * ''nfsstat'' Shows some nfs server server statistics 
 +  
 +----
 =====NFS Server===== =====NFS Server=====
   *''sudo apt install nfs-kernel-server'' to install   *''sudo apt install nfs-kernel-server'' to install
Line 66: Line 71:
  
 Mounting the nfs client manually: Mounting the nfs client manually:
-  *''sudo mount -t nfs -o rw,vers=4 192.168.1.5:/export/storage /mnt/storage'' to mount just the specific directory.+  *''sudo mount -t nfs -o rw,vers=4 192.168.1.5:/storage /mnt/storage'' to mount just the specific directory.
   *''sudo mount -t nfs -o rw,vers=4 192.168.1.5:/export /mnt'' to mount all the defined exports.   *''sudo mount -t nfs -o rw,vers=4 192.168.1.5:/export /mnt'' to mount all the defined exports.
   *''sudo unmount /mnt/storage'' to unmount   *''sudo unmount /mnt/storage'' to unmount
  • /app/www/public/data/attic/home_server/home_server_setup/other_services/nfs.1584869429.txt.gz
  • Last modified: 2023-04-30 Sun wk17 17:44
  • (external edit)