-
Notifications
You must be signed in to change notification settings - Fork 1
nfs
msinn edited this page Apr 9, 2020
·
1 revision
Config-File: /etc/exports
Options see wiki.ubuntuusers.de
Example:
/var/log 10.0.0.10/24(nosubtreecheck,rw,async,nowdelay,crossmnt,insecure,norootsquash,sec=sys,anonuid=1001,anongid=1001)
Restart: sudo exportfs -ra
Raspberry Pi
- apt-get install nfs-client
- makedir /mnt/smarthome
- mount -t nfs IPADRESSE:/usr/smarthome /mnt/smarthome
To mount automatically:
- nano /etc/fstab IPADRESS:/home /home nfs defaults 0 0
- apt-get install autofs
- Further steps see Mac OS X
OS X
- sudo -i
- nano /etc/auto_master /- autosmarthome -nobrowse,nosuid
- nano /etc/auto_smarthome
/../Volumes/SmartHome/Smarthome.py -fstype=nfs,noowners,nolockd,noresvport,hard,bg,int r,rw,tcp,nfc nfs://IPADRESS:/usr/smarthome
/../Volumes/SmartHome/Logs -fstype=nfs,noowners,nolockd,noresvport,hard,bg,int r,rw,tcp,nfc nfs://IPADRESS:/var/log
/../Volumes/SmartHome/www -fstype=nfs,noowners,nolockd,noresvport,hard,bg,int r,rw,tcp,nfc nfs://IPADRESS:/var/www
- sudo automount -vc
- Finder: Go/Go to Folder, type /Volumes. Drag and drop to the Favourites list on the upper left.
Windows
- Turn Windows-Features on or off starten, activate Services for NFS
- Windows Explorer address bar: \IPADRESSE
- For a permanent mounting (as drive H) run in a terminal window, mount \IPADRESSE\usr\smarthome H: