maru@[redacted]:/proc$ sudo mount rhea:/mnt/[redacted] /mnt/[redacted]mount.nfs: No such device
Hi Daniel and others playing around with NFS,
I'm taking a look at enabling NFS support in the Maru OS kernel but I'm running into a snag getting nfs-common to install correctly during my tests. It sounds like you were able to get it to install fine...was there anything extra you had to do other than install and start the nfs-common.service?
Here's my log:
maru@jessie:~$ sudo apt-get install nfs-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libnfsidmap2 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
libtirpc1 python python-minimal python2.7 python2.7-minimal rpcbind
Suggested packages:
open-iscsi watchdog python-doc python-tk python2.7-doc binutils
binfmt-support
The following NEW packages will be installed:
libnfsidmap2 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
libtirpc1 nfs-common python python-minimal python2.7 python2.7-minimal
rpcbind
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 4126 kB of archives.
After this operation, 15.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://httpredir.debian.org/debian/ jessie/main libnfsidmap2 armhf 0.25-5 [34.6 kB]
Get:2 http://httpredir.debian.org/debian/ jessie/main libtirpc1 armhf 0.2.5-1 [69.9 kB]
Get:3 http://httpredir.debian.org/debian/ jessie/main python2.7-minimal armhf 2.7.9-2+deb8u1 [1152 kB]
Get:4 http://httpredir.debian.org/debian/ jessie/main libpython2.7-minimal armhf 2.7.9-2+deb8u1 [376 kB]
Get:5 http://httpredir.debian.org/debian/ jessie/main python-minimal armhf 2.7.9-1 [40.2 kB]
Get:6 http://httpredir.debian.org/debian/ jessie/main libpython-stdlib armhf 2.7.9-1 [19.6 kB]
Get:7 http://httpredir.debian.org/debian/ jessie/main libpython2.7-stdlib armhf 2.7.9-2+deb8u1 [1805 kB]
Get:8 http://httpredir.debian.org/debian/ jessie/main python armhf 2.7.9-1 [151 kB]
Get:9 http://httpredir.debian.org/debian/ jessie/main python2.7 armhf 2.7.9-2+deb8u1 [252 kB]
Get:10 http://httpredir.debian.org/debian/ jessie/main rpcbind armhf 0.2.1-6+deb8u1 [37.9 kB]
Get:11 http://httpredir.debian.org/debian/ jessie/main nfs-common armhf 1:1.2.8-9 [189 kB]
Fetched 4126 kB in 1s (2385 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libnfsidmap2:armhf.
(Reading database ... 47281 files and directories currently installed.)
Preparing to unpack .../libnfsidmap2_0.25-5_armhf.deb ...
Unpacking libnfsidmap2:armhf (0.25-5) ...
Selecting previously unselected package libtirpc1:armhf.
Preparing to unpack .../libtirpc1_0.2.5-1_armhf.deb ...
Unpacking libtirpc1:armhf (0.2.5-1) ...
Selecting previously unselected package libpython2.7-minimal:armhf.
Preparing to unpack .../libpython2.7-minimal_2.7.9-2+deb8u1_armhf.deb ...
Unpacking libpython2.7-minimal:armhf (2.7.9-2+deb8u1) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.9-2+deb8u1_armhf.deb ...
Unpacking python2.7-minimal (2.7.9-2+deb8u1) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_armhf.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package libpython2.7-stdlib:armhf.
Preparing to unpack .../libpython2.7-stdlib_2.7.9-2+deb8u1_armhf.deb ...
Unpacking libpython2.7-stdlib:armhf (2.7.9-2+deb8u1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.9-2+deb8u1_armhf.deb ...
Unpacking python2.7 (2.7.9-2+deb8u1) ...
Selecting previously unselected package libpython-stdlib:armhf.
Preparing to unpack .../libpython-stdlib_2.7.9-1_armhf.deb ...
Unpacking libpython-stdlib:armhf (2.7.9-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Setting up libpython2.7-minimal:armhf (2.7.9-2+deb8u1) ...
Setting up python2.7-minimal (2.7.9-2+deb8u1) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ... 48050 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_armhf.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package rpcbind.
Preparing to unpack .../rpcbind_0.2.1-6+deb8u1_armhf.deb ...
Unpacking rpcbind (0.2.1-6+deb8u1) ...
Selecting previously unselected package nfs-common.
Preparing to unpack .../nfs-common_1%3a1.2.8-9_armhf.deb ...
Unpacking nfs-common (1:1.2.8-9) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u5) ...
Setting up libnfsidmap2:armhf (0.25-5) ...
Setting up libtirpc1:armhf (0.2.5-1) ...
Setting up libpython2.7-stdlib:armhf (2.7.9-2+deb8u1) ...
Setting up python2.7 (2.7.9-2+deb8u1) ...
Setting up libpython-stdlib:armhf (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up rpcbind (0.2.1-6+deb8u1) ...
Setting up nfs-common (1:1.2.8-9) ...
Creating config file /etc/idmapd.conf with new version
Adding system user `statd' (UID 110) ...
Adding new user `statd' (UID 110) with group `nogroup' ...
Not creating home directory `/var/lib/nfs'.
Job for nfs-common.service failed. See 'systemctl status nfs-common.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript nfs-common, action "start" failed.
dpkg: error processing package nfs-common (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Processing triggers for systemd (215-17+deb8u5) ...
Errors were encountered while processing:
nfs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
And my journalctl logs:
$ sudo journalctl -xn
Oct 19 22:18:20 jessie systemd[1]: Starting LSB: NFS support files common to cli
ent and server...
-- Subject: Unit nfs-common.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nfs-common.service has begun starting up.
Oct 19 22:18:20 jessie rpc.statd[1699]: Version 1.2.8 starting
Oct 19 22:18:20 jessie sm-notify[1700]: Version 1.2.8 starting
Oct 19 22:18:20 jessie rpc.statd[1699]: Failed to read /var/lib/nfs/state:
Success
Oct 19 22:18:20 jessie rpc.statd[1699]: Initializing NSM state
Oct 19 22:18:20 jessie rpc.statd[1699]: failed to create RPC listeners, ex
iting
Oct 19 22:18:20 jessie nfs-common[1694]: Starting NFS common utilities: statd fa
iled!
Oct 19 22:18:20 jessie systemd[1]: nfs-common.service: control process exi
ted, code=exited status=1
Oct 19 22:18:20 jessie systemd[1]: Failed to start LSB: NFS support files
common to client and server.
So it fails to install correctly and trying to 'systemctl start nfs-common' fails with the same unhepful error. Tried searching the net but didn't find anything enlightening.