PDA

View Full Version : SLES 12 SP2 Fail start NFS-Server: mount: unknown filesystem type 'nfsd'



schwarts1984
17-Apr-2018, 08:14
Hi,
I am trying to enable NFS Server on my suse 12.2 with kernel 4.4.103-92.53-default
After following the guide: https://www.suse.com/documentation/sles-12/book_sle_admin/data/sec_nfs_configuring-nfs-server.html
When trying to showmount -e IP from remote CentOS machine to the Suse, I receive error: clnt_create: RPC: Program not registered

This means the nfs server is not working well,
This is the log i receive when I systemctl start nfs-server:
linux-7mqw:/home/ilan # systemctl start nfs-server
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.
linux-7mqw:/home/ilan #

output of journalctl -xe:
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit proc-fs-nfsd.mount has failed.
--
-- The result is failed.
Apr 17 10:11:18 linux-7mqw systemd[1]: Dependency failed for NFS server and services.
-- Subject: Unit nfs-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nfs-server.service has failed.
--
-- The result is dependency.
Apr 17 10:11:18 linux-7mqw systemd[1]: Dependency failed for NFS Mount Daemon.
-- Subject: Unit nfs-mountd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nfs-mountd.service has failed.
--
-- The result is dependency.
Apr 17 10:11:18 linux-7mqw systemd[1]: nfs-mountd.service: Job nfs-mountd.service/start failed with result 'dependency'.
Apr 17 10:11:18 linux-7mqw systemd[1]: Dependency failed for NFSv4 ID-name mapping service.
-- Subject: Unit nfs-idmapd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nfs-idmapd.service has failed.
--
-- The result is dependency.
Apr 17 10:11:18 linux-7mqw systemd[1]: nfs-idmapd.service: Job nfs-idmapd.service/start failed with result 'dependency'.
Apr 17 10:11:18 linux-7mqw systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Apr 17 10:11:18 linux-7mqw systemd[1]: proc-fs-nfsd.mount: Unit entered failed state.
Apr 17 10:11:18 linux-7mqw mount[3999]: mount: unknown filesystem type 'nfsd'
Apr 17 10:11:18 linux-7mqw systemd[1]: Starting Notify NFS peers of a restart...
-- Subject: Unit rpc-statd-notify.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit rpc-statd-notify.service has begun starting up.
Apr 17 10:11:18 linux-7mqw sm-notify[4007]: Version 1.3.0 starting
Apr 17 10:11:18 linux-7mqw sm-notify[4007]: Already notifying clients; Exiting!
Apr 17 10:11:18 linux-7mqw systemd[1]: Started Notify NFS peers of a restart.
-- Subject: Unit rpc-statd-notify.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit rpc-statd-notify.service has finished starting up.
--
-- The start-up result is done.
Apr 17 10:11:20 linux-7mqw dns-resolver[4151]: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Apr 17 10:11:20 linux-7mqw dns-resolver[4153]: You can find my version in /etc/resolv.conf.netconfig
Apr 17 10:11:23 linux-7mqw dns-resolver[4468]: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Apr 17 10:11:23 linux-7mqw dns-resolver[4470]: You can find my version in /etc/resolv.conf.netconfig
Apr 17 10:11:25 linux-7mqw dns-resolver[4786]: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Apr 17 10:11:25 linux-7mqw dns-resolver[4793]: You can find my version in /etc/resolv.conf.netconfig
Apr 17 10:11:26 linux-7mqw dns-resolver[5100]: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Apr 17 10:11:26 linux-7mqw dns-resolver[5102]: You can find my version in /etc/resolv.conf.netconfig

schwarts1984
17-Apr-2018, 08:27
From CentOS i execute:
[root@CentOS7X86-64 ~]# rpcinfo -p 10.10.149.189
program vers proto port service
100000 4 tcp 111
100000 3 tcp 111
100000 2 tcp 111
100000 4 udp 111
100000 3 udp 111
100000 2 udp 111
100024 1 udp 52270
100024 1 tcp 56474
[root@CentOS7X86-64 ~]# showmount -e 10.10.149.189
clnt_create: RPC: Program not registered
[root@CentOS7X86-64 ~]#

schwarts1984
17-Apr-2018, 08:45
linux-7mqw:/home/ilan # systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● proc-fs-nfsd.mount loaded failed failed NFSD configuration filesystem
● systemd-modules-load.service loaded failed failed Load Kernel Modules

Job for proc-fs-nfsd.mount failed. See "systemctl status proc-fs-nfsd.mount" and "journalctl -xe" for details.

-- Unit proc-fs-nfsd.mount has begun starting up.
Apr 17 10:45:36 linux-7mqw mount[20268]: mount: unknown filesystem type 'nfsd'
Apr 17 10:45:36 linux-7mqw systemd[1]: proc-fs-nfsd.mount: Mount process exited, code=exited status=32
Apr 17 10:45:36 linux-7mqw systemd[1]: Failed to mount NFSD configuration filesystem.
-- Subject: Unit proc-fs-nfsd.mount has failed
-- Defined-By: systemd

schwarts1984
17-Apr-2018, 10:09
Hi,
After executing zypper update and updating all package it is ok now.