nfs ID 매핑을 위한 id_resolver 키링을 생성할 수 없습니다.

nfs ID 매핑을 위한 id_resolver 키링을 생성할 수 없습니다.

내 nfs 서버에서 ID 매핑을 사용하려고 하면 클라이언트 측에서 모든 것이 잘 작동하지만 내 서버에서 sudo nfsidmap어떤 옵션을 사용하여 실행하면 얻을 수 있는 것은 다음과 같습니다.nfsidmap: '.id_resolver' keyring was not found.

sudo nfsidmap -c아무 작업도 수행하지 않으며 id_resolver 키링 생성을 언급하는 저널ctl 항목을 찾을 수 없으므로 어떤 이유로든 키링이 생성되지 않는다고 가정해야 합니다. nfs-idmapd.service, nfs-server.service, nfs-mountd.service, rpc-statd.service 및 rpcbind.service가 모두 오류 없이 활성 상태입니다. 다음은 /etc/request-key.d/id_resolver.conf의 내용입니다.

#
# nfsidmap(5) - The NFS idmapper upcall program
# Summary: Used by NFSv4 to map user/group ids into 
#          user/group names and names into in ids
# Options:
# -v         Increases the verbosity of the output to syslog
# -t timeout Set the expiration timer, in seconds, on the key
#
create    id_resolver   *   *   /usr/sbin/nfsidmap %k %d

돕다.

centos 7 커널 3.10.0-514.26.2.el7.x86_64 nfs-utils 버전 1.3.0 릴리스 버전 0.33.el7_3

관련 정보