You are not logged in.
The error is
$ sudo mount -o nfsvers=3 nas:/volume1/nas /mnt/nas/
Job for rpc-statd.service failed. See "systemctl status rpc-statd.service" and "journalctl -xe" for details.
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
$ systemctl status rpc-statd.service
● rpc-statd.service - NFS status monitor for NFSv2/3 locking.
Loaded: loaded (/usr/lib/systemd/system/rpc-statd.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2015-03-16 00:35:14 PDT; 17s ago
Process: 1042 ExecStart=/usr/sbin/rpc.statd --no-notify $STATDARGS (code=exited, status=1/FAILURE)
Mar 16 00:35:14 artemis rpc.statd[1043]: Version 1.3.2 starting
Mar 16 00:35:14 artemis rpc.statd[1043]: Flags: TI-RPC
Mar 16 00:35:14 artemis rpc.statd[1043]: Running as root. chown /var/lib/nfs to choose different user
Mar 16 00:35:14 artemis rpc.statd[1043]: failed to create RPC listeners, exiting
Mar 16 00:35:14 artemis systemd[1]: rpc-statd.service: control process exited, code=exited status=1
Mar 16 00:35:14 artemis systemd[1]: Failed to start NFS status monitor for NFSv2/3 locking..
Mar 16 00:35:14 artemis systemd[1]: Unit rpc-statd.service entered failed state.
Mar 16 00:35:14 artemis systemd[1]: rpc-statd.service failed.
The NFS server I am connecting to is a Synology NAS. I have turned off NFSv4 on the server side (due to v4 not able to set gid not on the server side). When NFSv4 is enabled, mounting works without this error. This seems strictly NFSv3 AFAICT.
Installed versions are:
core/mkinitcpio-nfs-utils 0.3-5
ipconfig and nfsmount tools for NFS root support in mkinitcpio
core/nfs-utils 1.3.2-6 [installed]
Support programs for Network File Systems
Any help/hints are appreciated.
EDIT:
It looks like rpc.statd can not run at all:
# /usr/sbin/rpc.statd
# echo $?
1
EDIT2:
Didn't RTFM
systemctl start rpcbind
solved the problem.
Last edited by mathfeel (2015-03-16 08:24:38)
Cheers!
M
Offline