I have a raspberry pi set up as an NFS server, having followed the steps here. Both nfs-kernel-server and rpcbind is active and the pi is at 10.1.1.80 and the red pitaya is at 10.1.1.100. I have created the share at /var/nfs, set chown to nobody and nogroup, and put
Code: Select all
/var/nfs 10.1.1.100(rw,sync,no_subtree_check)
The red pitaya is on the correct network and can ssh into the pi just fine, and I have created /mnt/nfs on the red pitaya as a mount point. When I execute:
Code: Select all
mount -o nolock 10.1.1.80:/var/nfs /mnt/nfs -v
Code: Select all
...
mount.nfs: mount(2): Protocol not supported
...
mount.nfs: portmap query failed: RPC: Program not registered
...
mount.nfs: requested NFS version or transport protocol is not supported
Code: Select all
...
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
...
Setting up nfs-common (1:1.2.8-9) ...
Job for nfs-common.service failed. See 'systemctl status nfs-common.service' and 'journalctl -xn' for details.
invoke-rx.c: initscript nfs-common, action "start" failed.
dpkg: error processing package nfs-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nfs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
redpitaya rpc.idmapd[1817]: main: fcntl(/run/rpc_pipefs/nfs): Invalid argument
redpitaya nfs-common[1803]: Starting NFS common utilities: statd idmapd failed!
...