Diferencia entre revisiones de «NFS»
De gacq wiki
Línea 6: | Línea 6: | ||
==/etc/exports== | ==/etc/exports== | ||
<pre><nowiki> | <pre><nowiki> | ||
− | /usr/local 192.168.0.0/255.255.255.0(rw) | + | /usr/local 192.168.0.0/255.255.255.0(rw,async,subtree_check) |
− | /var/db 192.168.0.0./255.255.255.0( | + | /var/db 192.168.0.0./255.255.255.0(ro,async,subtree_check) |
</nowiki></pre> | </nowiki></pre> | ||
Revisión del 14:48 5 may 2008
Server
apt-get install nfs-kernel-server
/etc/exports
/usr/local 192.168.0.0/255.255.255.0(rw,async,subtree_check) /var/db 192.168.0.0./255.255.255.0(ro,async,subtree_check)
Clientes
apt-get install nfs-common portmap mount -t nfs hostname(orIP):/directory /mnt/nfs/share
/etc/fstab
mickey:/ /mnt/mickey nfs ro,noauto,intr 0 0 goofy:/ /mnt/goofy nfs ro,noauto,intr 0 0 hostname(orIP):/directory /mnt/nfs/share nfs rsize=8192,wsize=8192,timeo=14,intr
Errores
mount: RPC: Programa no registrado mount: RPC: Programm not registered