You are not logged in.
Pages: 1
Hi guys,
$ showmount -e server
clnt_create: RPC: Port mapper failure - Unable to receive: errno 111 (Connection refused)
fstab entries:
10.0.0.4:/srv/nfs/films /mnt/server/films nfs noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,hard,intr,noatime 0 0
10.0.0.4:/srv/nfs/music /mnt/server/music nfs noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,hard,intr,noatime 0 0
10.0.0.4:/srv/nfs/series /mnt/server/series nfs noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,hard,intr,noatime 0 0
journal:
$ journalctl -b -n 50 --no-pager
-- Logs begin at Do 2014-08-21 16:42:37 CEST, end at Mo 2015-03-02 01:40:49 CET. --
mount[1649]: mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount[1649]: mount.nfs: an incorrect mount option was specified
systemd[1]: mnt-server-series.mount mount process exited, code=exited status=32
systemd[1]: Failed to mount /mnt/server/series.
systemd[1]: Unit mnt-server-series.mount entered failed state.
rpc.statd[1663]: Version 1.3.2 starting
rpc.statd[1663]: Flags: TI-RPC
rpc.statd[1663]: Running as root. chown /var/lib/nfs to choose different user
rpc.statd[1663]: failed to create RPC listeners, exiting
systemd[1]: rpc-statd.service: control process exited, code=exited status=1
systemd[1]: Failed to start NFS status monitor for NFSv2/3 locking..
systemd[1]: Unit rpc-statd.service entered failed state.
systemd[1]: rpc-statd.service failed.
mount[1658]: Job for rpc-statd.service failed. See "systemctl status rpc-statd.service" and "journalctl -xe" for details.
rpc.statd[1665]: Version 1.3.2 starting
rpc.statd[1665]: Flags: TI-RPC
rpc.statd[1665]: Running as root. chown /var/lib/nfs to choose different user
rpc.statd[1665]: failed to create RPC listeners, exiting
sudo[1668]: k0tb4tzen : TTY=pts/1 ; PWD=/home/k0tb4tzen ; USER=root ; COMMAND=/usr/bin/systemctl start rpcbind.service
sudo[1668]: pam_unix(sudo:session): session opened for user root by k0tb4tzen(uid=0)
sudo[1668]: pam_unix(sudo:session): session closed for user root
mount[1658]: mount.nfs: rpc.statd is not running but is required for remote locking.
mount[1658]: mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount[1658]: mount.nfs: an incorrect mount option was specified
systemd[1]: mnt-server-series.mount mount process exited, code=exited status=32
systemd[1]: Failed to mount /mnt/server/series.
systemd[1]: Unit mnt-server-series.mount entered failed state.
rpc.statd[1679]: Version 1.3.2 starting
rpc.statd[1679]: Flags: TI-RPC
rpc.statd[1679]: Running as root. chown /var/lib/nfs to choose different user
sudo[1824]: k0tb4tzen : TTY=pts/1 ; PWD=/home/k0tb4tzen ; USER=root ; COMMAND=/usr/bin/systemctl start nfs-client.target
sudo[1824]: pam_unix(sudo:session): session opened for user root by k0tb4tzen(uid=0)
systemd[1]: Dependency failed for pNFS block layout mapping daemon.
systemd[1]: Job nfs-blkmap.service/start failed with result 'dependency'.
sm-notify[1827]: Version 1.3.2 starting
sm-notify[1827]: Already notifying clients; Exiting!
sudo[1824]: pam_unix(sudo:session): session closed for user root
org.ayatana.bamf[730]: (bamfdaemon:788): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
org.ayatana.bamf[730]: (bamfdaemon:788): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
sudo[1840]: k0tb4tzen : TTY=pts/1 ; PWD=/home/k0tb4tzen ; USER=root ; COMMAND=/usr/bin/systemctl mask nfs-blkmap.service
sudo[1840]: pam_unix(sudo:session): session opened for user root by k0tb4tzen(uid=0)
sudo[1840]: pam_unix(sudo:session): session closed for user root
systemd[1]: Failed to reset devices.list on /system.slice: Invalid argument
mount[1674]: mount.nfs: Connection timed out
systemd[1]: mnt-server-series.mount mount process exited, code=exited status=32
systemd[1]: Failed to mount /mnt/server/series.
systemd[1]: Unit mnt-server-series.mount entered failed state.
org.ayatana.bamf[730]: (bamfdaemon:788): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
org.ayatana.bamf[730]: (bamfdaemon:788): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
systemd[1]: mnt-server-series.mount mounting timed out. Stopping.
Where's the error?
Offline
May be try this: https://bbs.archlinux.org/viewtopic.php?id=150712 ?
Offline
Enable rpcbind on the server and on the client. Make sure to not run systemd 219 on both sides.
Offline
I run 218 and rpcbind is enabled, but starting doesn't affect the outcome of the NFS mounts.
from the link:
Enabling rpc-statd allows nfs3, and installing the testing from package makes sure the ordering is okay and statd actually runs in time.
– doesn't work sadly. Same errors.
EDIT: Found an error on the server:
rpc.nfsd[354]: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd[354]: rpc.nfsd: unable to set any sockets for nfsd
EDIT2: and this
kernel: svc: failed to register nfsdv3 RPC service (errno 97).
kernel: svc: failed to register nfsaclv3 RPC service (errno 97).
kernel: svc: failed to register lockdv1 RPC service (errno 97).
EDIT3: rpcinfo
$ rpcinfo
program version netid address service owner
100000 4 tcp6 ::.0.111 portmapper superuser
100000 3 tcp6 ::.0.111 portmapper superuser
100000 4 udp6 ::.0.111 portmapper superuser
100000 3 udp6 ::.0.111 portmapper superuser
100000 4 tcp 0.0.0.0.0.111 portmapper superuser
100000 3 tcp 0.0.0.0.0.111 portmapper superuser
100000 2 tcp 0.0.0.0.0.111 portmapper superuser
100000 4 udp 0.0.0.0.0.111 portmapper superuser
100000 3 udp 0.0.0.0.0.111 portmapper superuser
100000 2 udp 0.0.0.0.0.111 portmapper superuser
100000 4 local /var/run/rpcbind.sock portmapper superuser
100000 3 local /var/run/rpcbind.sock portmapper superuser
100003 3 tcp6 ::.8.1 nfs superuser
100003 4 tcp6 ::.8.1 nfs superuser
100227 3 tcp6 ::.8.1 nfs_acl superuser
100003 3 udp6 ::.8.1 nfs superuser
100003 4 udp6 ::.8.1 nfs superuser
100227 3 udp6 ::.8.1 nfs_acl superuser
100021 1 udp6 ::.175.104 nlockmgr superuser
100021 3 udp6 ::.175.104 nlockmgr superuser
100021 4 udp6 ::.175.104 nlockmgr superuser
100021 1 tcp6 ::.163.194 nlockmgr superuser
100021 3 tcp6 ::.163.194 nlockmgr superuser
100021 4 tcp6 ::.163.194 nlockmgr superuser
100005 1 udp 0.0.0.0.78.80 mountd superuser
100005 1 tcp 0.0.0.0.78.80 mountd superuser
100005 1 udp6 ::.78.80 mountd superuser
100005 1 tcp6 ::.78.80 mountd superuser
100005 2 udp 0.0.0.0.78.80 mountd superuser
100005 2 tcp 0.0.0.0.78.80 mountd superuser
100024 1 udp 0.0.0.0.201.152 status superuser
100005 2 udp6 ::.78.80 mountd superuser
100024 1 tcp 0.0.0.0.128.109 status superuser
100005 2 tcp6 ::.78.80 mountd superuser
100024 1 udp6 ::.133.1 status superuser
100005 3 udp 0.0.0.0.78.80 mountd superuser
100024 1 tcp6 ::.225.101 status superuser
100005 3 tcp 0.0.0.0.78.80 mountd superuser
100005 3 udp6 ::.78.80 mountd superuser
100005 3 tcp6 ::.78.80 mountd superuser
100003 3 udp 0.0.0.0.8.1 nfs superuser
100003 4 udp 0.0.0.0.8.1 nfs superuser
100227 3 udp 0.0.0.0.8.1 nfs_acl superuser
100003 3 tcp 0.0.0.0.8.1 nfs superuser
100003 4 tcp 0.0.0.0.8.1 nfs superuser
100227 3 tcp 0.0.0.0.8.1 nfs_acl superuser
100021 1 udp 0.0.0.0.216.122 nlockmgr superuser
100021 3 udp 0.0.0.0.216.122 nlockmgr superuser
100021 4 udp 0.0.0.0.216.122 nlockmgr superuser
100021 1 tcp 0.0.0.0.217.217 nlockmgr superuser
100021 3 tcp 0.0.0.0.217.217 nlockmgr superuser
100021 4 tcp 0.0.0.0.217.217 nlockmgr superuser
Last edited by k0tb4tzen (2015-03-02 12:15:06)
Offline
I just had this problem, but on my Gentoo box (the only machine I mount and NFS share on...)
Solution from another Arch user is to make sure rpc-bind is enabled:
systemctl enable rpcbind && systemctl start rpcbind
This fixed it for me and the systemd automounter works as usual.
Last edited by Sulman (2015-03-12 15:15:15)
Offline
Check what error messages you get when mounting manually.
# mount -t nfs 10.0.0.4:/films /mnt/server/films
Do you have the same uid and gid on server and client?
Showing the exports file might get you help, too.
Offline
Pages: 1