Diferències
Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.
Ambdós costats versió prèvia Revisió prèvia Següent revisió | Revisió prèvia | ||
linux:tcpip:nfs [23/02/2019 15:33] – [puesta en marcha de server/client] mate | linux:tcpip:nfs [14/08/2021 11:20] (actual) – [+ info] mate | ||
---|---|---|---|
Línia 20: | Línia 20: | ||
mkdir / | mkdir / | ||
chown nobody: | chown nobody: | ||
- | <code bash; / | ||
- | / | ||
- | </ | ||
- | * flags: | ||
- | * rw : lectura-escritura | ||
- | * ro : solo lectura | ||
- | * root_squash : impide que un cliente remoto con permiso ROOT pueda ejercerlos | ||
- | * subtree_check : Disable file location checks on partial volume exports. This option will speed up transfers on full volume exports. | ||
- | * sync : Force all transfers to operate in synchronous mode, so all clients will wait until their operations are really done. This can avoid data corruption in the event of a server crash. | ||
* client : <code bash> | * client : <code bash> | ||
sudo apt-get install nfs-common | sudo apt-get install nfs-common | ||
Línia 34: | Línia 25: | ||
sudo mount -t nfs < | sudo mount -t nfs < | ||
</ | </ | ||
+ | <code bash; / | ||
+ | < | ||
+ | </ | ||
+ | * 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=< | ||
+ | * 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=< | ||
+ | * wsize=< | ||
== / | == / | ||
+ | <code bash; / | ||
+ | / | ||
+ | </ | ||
+ | * flags: | ||
+ | * rw : lectura-escritura | ||
+ | * ro : solo lectura | ||
+ | * root_squash : impide que un cliente remoto con permiso ROOT pueda ejercerlos | ||
+ | * subtree_check : Disable file location checks on partial volume exports. This option will speed up transfers on full volume exports. | ||
+ | * sync : Force all transfers to operate in synchronous mode, so all clients will wait until their operations are really done. This can avoid data corruption in the event of a server crash. | ||
== apuntes | == apuntes | ||
Línia 45: | Línia 60: | ||
== + info | == + info | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// |