Benutzer-Werkzeuge

Webseiten-Werkzeuge


nfs

Inhaltsverzeichnis

Server

  • nfs-utils
Support Utilities for Kernel nfsd 
This package contains the NFS utilities. You can tune the number of
server threads via the sysconfig variable USE_KERNEL_NFSD_NUMBER. For
quota over NFS support, install the quota package.
  • nfs-server
Userspace NFS Server Daemons 
The NFS server daemons are needed to export directories on your machine
to other hosts via the NFS protocol.
There are 2 NFS servers: the userspace NFS server and the kernel NFS
server. This package contains the userspace NFS server. The utilities
for the kernel NFS server can be found in the "nfs-utils" package.
For quota over NFS support, install the quota package.
Userspace NFS server is a lot slower than the kernel NFS server, but
has some special features which are not in the kernel NFS server.

/etc/exports

/d/knoppix      (rw,root_squash,sync)
/d/vmware       (rw,root_squash,sync)
/d              (rw,root_squash,sync)
/d/d4edvd       (rw,root_squash,sync)

Client

Verbindung manuell herstellen
mount -t nfs 192.168.1.39:/d /mnt
Verbindung beim Starten automatisch herstellen

/etc/fstab

192.168.1.39:/d        /mnt    nfs     defaults 0 0

Das Verzeichnis 192.168.1.39:/d kann anschließend mit dem Befehl mount /mnt gemountet werden

NFS Netzwerkkurs

  • nfsserver installiert (KernelNFSServer)
  • vi /etc/exports
/nfspeer       *(rw,no_root_squash,sync,subtree_check)
  • rcnfsserver restart
  • Firewall am nfsserver anpassen (NFS zulassen) oder Firewall deaktivieren
  • mount -t nfs 192.168.100.163:/nfspeer /mnt/peer
nfs.txt · Zuletzt geändert: 2008/12/09 21:55 (Externe Bearbeitung)