Diferencia entre revisiones de «NFS»
De gacq wiki
(→Server) |
|||
(No se muestra una edición intermedia del mismo usuario) | |||
Línea 1: | Línea 1: | ||
= Server = | = Server = | ||
<pre><nowiki> | <pre><nowiki> | ||
− | apt-get install nfs-kernel-server | + | apt-get install nfs-kernel-server portmap |
</nowiki></pre> | </nowiki></pre> | ||
==/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 actual del 08:35 2 feb 2009
Server
apt-get install nfs-kernel-server portmap
/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