You are not logged in.

#1 2015-07-09 00:27:49

lenovomi
Member
Registered: 2015-07-09
Posts: 1

nfs4 + id mappings

Hi,

im trying to work nfs4 + idmapping but without sucess... there are million of tutorials, etc but seems nothing consistent / working. Im getting that

[root@universe ~]# systemctl restart nfs-idmapd
Job for nfs-idmapd.service failed because the control process exited with error code. See "systemctl status nfs-idmapd.service" and "journalctl -xe" for details.

Jul 09 02:26:13 universe systemd[1]: Starting NFSv4 ID-name mapping service...
-- Subject: Unit nfs-idmapd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
--
-- Unit nfs-idmapd.service has begun starting up.
Jul 09 02:26:13 universe rpc.idmapd[1072]: libnfsidmap: using domain: stoka.local
Jul 09 02:26:13 universe systemd[1]: nfs-idmapd.service: Control process exited, code=exited status=1
Jul 09 02:26:13 universe rpc.idmapd[1072]: libnfsidmap: Realms list: 'STOKA.LOCAL'
Jul 09 02:26:13 universe systemd[1]: Failed to start NFSv4 ID-name mapping service.
-- Subject: Unit nfs-idmapd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
--
-- Unit nfs-idmapd.service has failed.
--
-- The result is failed.
Jul 09 02:26:13 universe rpc.idmapd[1072]: libnfsidmap: processing 'Method' list
Jul 09 02:26:13 universe systemd[1]: nfs-idmapd.service: Unit entered failed state.
Jul 09 02:26:13 universe rpc.idmapd[1072]: libnfsidmap: loaded plugin /usr/lib/libnfsidmap/nsswitch.so for method nsswitch
Jul 09 02:26:13 universe systemd[1]: nfs-idmapd.service: Failed with result 'exit-code'.
Jul 09 02:26:13 universe rpc.idmapd[1073]: Expiration time is 600 seconds.
Jul 09 02:26:13 universe rpc.idmapd[1073]: Opened /proc/net/rpc/nfs4.nametoid/channel
Jul 09 02:26:13 universe rpc.idmapd[1073]: Opened /proc/net/rpc/nfs4.idtoname/channel


Config
-------------





cat /etc/hosts

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1       universe.stoka.local    localhost universe
#::1            localhost.localdomain   localhost


[root@universe ~]# cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1       universe.stoka.local    localhost universe
#::1            localhost.localdomain   localhost

# End of file
[root@universe ~]# cat /etc/idmapd.conf
[General]
Verbosity = 7
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = stoka.local

[Mapping]
Nobody-User = nobody
Nobody-Group = nobody

[Translation]
Method = nsswitch

cat /sys/module/nfs/parameters/nfs4_disable_idmapping
0


Thank you!

Offline

#2 2015-07-09 01:26:01

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Re: nfs4 + id mappings

Please use code tags to make that readable.

Offline

Board footer

Powered by FluxBB