Als erstes habe ich das hier installiert: sudo apt-get install nfs-common portmap. Danach habe ich auf meinem NAS die Freigabe "Raspberry" erstellt und diese per NFS für die IP des RasPi freigegeben. Auf dem RasPi habe ich mit "mkdir" das Verzeichnis /media/NAS angelegt.
Die fstab sieht jetzt wie folgt aus:
Code
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
NAS-IP:/Raspberry /media/NAS nfs rw 0 0
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
Wenn ich aber versuche die Freigabe zu mounten, hagelt es Fehlermeldungen
Code
pi@raspberrypi /media $ sudo mount -a
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
pi@raspberrypi /media $
Was mache ich falsch?