NFS service fails to start due to dependency issue.

Solution Verified - Updated -

Issue

  • Why am I not able to restart NFS service?
  • Unable to restart NFS service due to dependency issues.
[root@hostname ~]# systemctl status nfs 
? nfs-server.service - NFS server and services 
   Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled) 
  Drop-In: /run/systemd/generator/nfs-server.service.d 
           ??order-with-mounts.conf 
   Active: inactive (dead) 
Oct 09 21:05:13 hostname systemd[1]: Unit nfs-server.service cannot be reloaded because it is inactive. 
Oct 09 21:18:13 hostname systemd[1]: Dependency failed for NFS server and services. 
Oct 09 21:18:13 hostname systemd[1]: Job nfs-server.service/start failed with result 'dependency'. 
  • NFS service fails to start even after multiple restart attempts.
  • Dependency issue while starting NFS service.
Oct  9 20:49:34 hostname mount: mount: unknown filesystem type 'nfsd' 
Oct  9 20:49:34 hostname systemd: proc-fs-nfsd.mount mount process exited, code=exited status=32
Oct  9 20:49:34 hostname systemd: Failed to mount NFSD configuration filesystem.
Oct  9 20:49:34 hostname systemd: Dependency failed for NFS Mount Daemon.
Oct  9 20:49:34 hostname systemd: Dependency failed for NFS server and services.
Oct  9 20:49:34 hostname systemd: Dependency failed for NFSv4 ID-name mapping service.
Oct  9 20:49:34 hostname systemd: Job nfs-idmapd.service/start failed with result 'dependency'.
Oct  9 20:49:34 hostname systemd: Job nfs-server.service/start failed with result 'dependency'.

Environment

  • Red Hat Enterprise Linux 7
  • NFS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In