Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| nfs [2008/05/20 09:24] – angelegt gerald | nfs [2025/03/03 17:37] (aktuell) – [Client:] gerald | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | [[autofs]] AutoFS (mit NFS) | ||
| + | |||
| ====== NFS Network File System ====== | ====== NFS Network File System ====== | ||
| + | [[nfs: | ||
| Tree services for NFS: nfs, nsflock and portmap | Tree services for NFS: nfs, nsflock and portmap | ||
| Zeile 6: | Zeile 9: | ||
| ===== Client: ===== | ===== Client: ===== | ||
| + | |||
| + | Newer Ubuntu: you have to install: | ||
| + | < | ||
| + | sudo apt-get install nfs-common | ||
| + | </ | ||
| + | |||
| Only Portmap has to run. (kernel support must be given!) | Only Portmap has to run. (kernel support must be given!) | ||
| Zeile 20: | Zeile 29: | ||
| If you want the NFS volume to be mounted automatically on boot, or if you want to allow your users to mount the filesystem, you will want to edit this file. | If you want the NFS volume to be mounted automatically on boot, or if you want to allow your users to mount the filesystem, you will want to edit this file. | ||
| The /etc/fstab entry to mount the above exported filesystem would look something like this: | The /etc/fstab entry to mount the above exported filesystem would look something like this: | ||
| - | </code> | + | < |
| | | ||
| </ | </ | ||
| ---- | ---- | ||
| + | |||
| + | Sicherheitshinweise unten beachten! | ||
| + | |||
| + | |||
| + | Für NFSv3: | ||
| + | |||
| + | < | ||
| + | |||
| + | |||
| + | Für NFSv4: | ||
| + | Falls du NFSv4 nutzt, versuche es ohne /var/: | ||
| + | |||
| + | |||
| + | < | ||
| + | |||
| + | |||
| + | ⚠ Prüfe mit: | ||
| + | |||
| + | < | ||
| + | |||
| + | Falls dort +4 steht, wird NFSv4 genutzt. | ||
| + | |||
| ===== Server side: ===== | ===== Server side: ===== | ||
| Zeile 31: | Zeile 62: | ||
| / | / | ||
| </ | </ | ||
| + | |||
| + | Änderungen: | ||
| + | < | ||
| + | exportfs -ra | ||
| + | </ | ||
| + | |||
| The / | The / | ||
| Zeile 122: | Zeile 159: | ||
| Jetzt gehts! | Jetzt gehts! | ||
| + | |||
| + | ---- | ||
| + | |||
| + | == Clientseitig == | ||
| + | |||
| + | nfs-common muss installiert sein: | ||
| + | < | ||
| + | |||
| + | etc/fstab: | ||
| + | < | ||
| + | 192.168.123.95:/ | ||
| + | </ | ||