NetworkFileSystem

Aus Info-Theke
Zur Navigation springen Zur Suche springen


Installation

apt-get install portmap nfs-kernel-server nfs-common
oder
apt-get install rpcbind nfs-kernel-server nfs-common

service rpcbind restart
service nfs-kernel-server restart


Konfiguration

echo "/media/data  192.168.2.0/24(rw,async,no_root_squash,no_subtree_check)" >> /etc/exports
exportfs -a
exportfs -r

Client

test -d /media/banana || mkdir /media/banana
echo "banana:/media/data  /media/banana  nfs  rsize=8192,wsize=8192,hard,intr  0 0" >>/etc/fstab