Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
nfs [2009/01/13 12:32] – gerald | nfs [2025/03/03 17:37] (aktuell) – [Client:] gerald | ||
---|---|---|---|
Zeile 3: | Zeile 3: | ||
====== 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 8: | 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 22: | 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 33: | Zeile 62: | ||
/ | / | ||
</ | </ | ||
+ | |||
+ | Änderungen: | ||
+ | < | ||
+ | exportfs -ra | ||
+ | </ | ||
+ | |||
The / | The / | ||