[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
es:howtos:network_services:nfs-quick_and_dirty_setup [2019/02/15 19:54 (UTC)] – [Mounting] slackwarespanol | es:howtos:network_services:nfs-quick_and_dirty_setup [2019/02/18 20:35 (UTC)] (actual) – [Supuestos] slackwarespanol | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
- | <note warning> | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== NFS - Quick and Dirty Setup ====== | + | ====== NFS - Configuración detallada y Guía Rápida |
Se sabe que funcionan con Slackware 14, 14.1 y 14.2 \\ | Se sabe que funcionan con Slackware 14, 14.1 y 14.2 \\ | ||
====== Supuestos ====== | ====== Supuestos ====== | ||
- | 1) Este HOWTO asume que estás usando ** una instalación de Slackware ** | + | 1) Este HOWTO asume que estás usando ** una instalación de Slackware ** |
2) Para este ejemplo, el directorio compartido en el servidor será /nfs_share \\ | 2) Para este ejemplo, el directorio compartido en el servidor será /nfs_share \\ | ||
3) Para este ejemplo, el punto de montaje del recurso compartido NFS será / | 3) Para este ejemplo, el punto de montaje del recurso compartido NFS será / | ||
Línea 63: | Línea 62: | ||
Si lo monta durante el arranque y la máquina del servidor no está disponible, la máquina cliente tardará mucho tiempo en iniciarse, ya que el cliente NFS hará múltiples intentos de conexión y tendrá que esperar a que se agote el tiempo de espera para cada intento. . \\ | Si lo monta durante el arranque y la máquina del servidor no está disponible, la máquina cliente tardará mucho tiempo en iniciarse, ya que el cliente NFS hará múltiples intentos de conexión y tendrá que esperar a que se agote el tiempo de espera para cada intento. . \\ | ||
- | ====== | + | ====== |
- | All the steps with no explanation: \\ | + | Todos los pasos sin explicación:\\ |
- | **SERVER:** \\ | + | ** SERVIDOR: ** \\ |
< | < | ||
chmod 755 / | chmod 755 / | ||
Línea 73: | Línea 72: | ||
exportfs -a</ | exportfs -a</ | ||
- | **CLIENT:** \\ | + | **CLIENTE:** \\ |
< | < | ||
chmod 755 / | chmod 755 / | ||
Línea 81: | Línea 80: | ||
</ | </ | ||
- | ====== | + | ====== |
- | PROBLEM: NFS shares won't mount on client box with a "Stale NFS file handle" | + | PROBLEMA: Los recursos compartidos de NFS no se montarán en la caja del cliente con un error "Manejador de archivo |
- | SOLUTION: \\ | + | SOLUCIÓN: \\ |
- | 1) Forcibly unmount the directory on the CLIENT machine | + | 1) Desmonte por la fuerza el directorio en la máquina del CLIENTE |
< | < | ||
- | 2) Flush the NFS registry on the SERVER machine: | + | 2) Vacíe el registro |
< | < | ||
- | 3) Remount the NFS share | + | 3) Vuelva a montar el recurso |
4) No Root Squash: | 4) No Root Squash: | ||
- | There are many options for NFS and I want to keep this article short but effective so I am leaving out many of the various configuration items that you could do. However there is one option that is worth mentioning, **no_root_squash**. | + | Hay muchas opciones para NFS y quiero que este artículo sea breve pero efectivo, por lo que omito muchos de los diversos elementos de configuración que podría hacer. Sin embargo, hay una opción que vale la pena mencionar, ** no_root_squash **. Por defecto, |
- | If I create a file as the root user on the client on the NFS share, by default that file is owned by the nobody | + | |
< | < | ||
| | ||
Línea 99: | Línea 97: | ||
| | ||
</ | </ | ||
- | Sometimes it is important to share files that are owned as root with the proper permissions, in these cases this can be done by simply adding the **no_root_squash** | + | A veces es importante compartir archivos que son propiedad de la raíz con los permisos adecuados, en estos casos se puede hacer simplemente agregando el atributo |
- | **Edit the / | + | **Edite / |
< | < | ||
/nfs_share 192.168.1.1/ | /nfs_share 192.168.1.1/ | ||
</ | </ | ||
- | ====== | + | ====== |
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> | ||
<!-- * Original source: Banging my head in frustration and figuring it out. --> | <!-- * Original source: Banging my head in frustration and figuring it out. --> | ||
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
- | * Originally written by [[wiki: | + | |
+ | * Traducido por: [[wiki: | ||
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||