Mounting NFS share over network

Applications, development tools, FPGA, C, WEB
Post Reply
bb11g13
Posts: 8
Joined: Wed Jul 13, 2016 4:54 pm

Mounting NFS share over network

Post by bb11g13 » Mon Feb 20, 2017 4:36 pm

Hi all.

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)
in /etc/exports on the pi before creating the NFS table.

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
the return includes

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
I don't know how to fix this. I have tried checking if nfs-common is installed on the redpitaya with `apt-get nfs-common` and I initially get `nfs-common is already the newest version` followed by

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)
I went in and checked `systemctl status nfs-common.service -l` and received a lot of failure messages indicating that it failed immediately upon starting. I don't know if this is the root of the problem or just something that isn't helping, but the first error appears to be in

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!
...
Any clues as to how to get this working?

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 11 guests