linux:tcpip:nfs

Diferències

Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.

Enllaç a la visualització de la comparació

Ambdós costats versió prèvia Revisió prèvia
Següent revisió
Revisió prèvia
linux:tcpip:nfs [23/02/2019 15:35] matelinux:tcpip:nfs [14/08/2021 11:20] (actual) – [+ info] mate
Línia 25: Línia 25:
 sudo mount -t nfs <ip>:<ruta> <ruta_local> sudo mount -t nfs <ip>:<ruta> <ruta_local>
 </code> </code>
 +<code bash; /etc/fstab>
 +<ip_NFS_server:/path/directorio/compartido /punto/montaje nfs rw,async,hard,intr,noexec 0 0
 +</code>
 +    * flags:
 +      * rw: Read/write filesystem.
 +      * ro: Read-only filesystem. Remote NFS clients can’t modify the filesystem.
 +      * hard: Applications using files stored on an NFS will always wait if the server goes down. User cannot terminate the process unless the option intr is set.
 +      * soft: Applications using files stored on an NFS will wait a specified time (using the timeo option) if the server goes down, and after that, will throw an error.
 +      * intr: Allows user interruption of processes waiting on a NFS request.
 +      * timeo=<num>: For use with the soft option. Specify the timeout for an NFS request.
 +      * nolock: Disable file locks. Useful with older NFS servers.
 +      * noexec: Disable execution of binaries or scripts on an NFS share.
 +      * nosuid: Prevents users from gaining ownership of files on the NFS share.
 +      * rsize=<num>: Sets the read block data size. Defaults to 8192 on NFSv2 and NFSv3, and 32768 on NFSv4.
 +      * wsize=<num>: Sets the write block data size. Defaults to 8192 on NFSv2 and NFSv3, and 32768 on NFSv4.
  
 == /etc/exports == /etc/exports
Línia 45: Línia 60:
 == + info == + info
   * [[https://www.linode.com/docs/networking/nfs/how-to-mount-nfs-shares-on-debian-9/]]   * [[https://www.linode.com/docs/networking/nfs/how-to-mount-nfs-shares-on-debian-9/]]
 +  * [[https://www.cyberciti.biz/faq/apple-mac-osx-nfs-mount-command-tutorial/]]
  • linux/tcpip/nfs.1550964941.txt.gz
  • Darrera modificació: 23/02/2019 15:35
  • per mate