6

On my Raspbian jessie I have NFS server running:

 $ sudo service rpcbind status
● rpcbind.service - LSB: RPC portmapper replacement
   Loaded: loaded (/etc/init.d/rpcbind)
  Drop-In: /run/systemd/generator/rpcbind.service.d
           └─50-rpcbind-$portmap.conf
   Active: active (running) since Mon 2016-09-19 18:33:01 UTC; 2min 17s ago
  Process: 9800 ExecStart=/etc/init.d/rpcbind start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/rpcbind.service
           └─9809 /sbin/rpcbind -w

Sep 19 18:33:01 raspberrypi rpcbind[9800]: Starting rpcbind daemon....
Sep 19 18:33:01 raspberrypi systemd[1]: Started LSB: RPC portmapper replacement

and on my client machine mac

I am trying to mount the shared drive

$ sudo mount -o rsize=32768,wsize=32768,intr,noatime -t nfs 192.168.1.100:/home/pi/USBHDD /Volumes/USBHDD
mount_nfs: can't mount /home/pi/USBHDD from 192.168.1.100 onto /Volumes/USBHDD: RPC prog. not avail
  • Can you use mount -v and add the output to the question? Also I assume that you did export USBHDD on your Raspbian and that the local USBHDD directory existis, correct? – nohillside Sep 19 '16 at 19:19
  • Are you really using * after the IP address when you run the command? And where do you get the error mentioned in the title, it doesn't show up in the question itself? – nohillside Sep 19 '16 at 19:21
  • @patrix yes USBHDD exists at both client and server – Ciasto piekarz Sep 20 '16 at 5:59
  • @patrix : sorry i missed pasting the complete text , I have updated it now. – Ciasto piekarz Sep 20 '16 at 16:32
  • What does rpcinfo -p 192.168.1.100 show? See also: discussions.apple.com/thread/1356126?start=0&tstart=0 – MacManager Sep 22 '16 at 22:38
1

Try this:

pi@raspberrypi:~$ sudo /etc/init.d/nfs-kernel-server restart

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .