- After server reboot there is alert received for
statdservice not running.
]# ls -ld /usr/lib/systemd/system/nfs-lock.service lrwxrwxrwx 1 root root 17 Sep 13 16:05 /usr/lib/systemd/system/nfs-lock.service -> rpc-statd.service
nfslockservices are configured as static by default.
So at the time of system restart as
nfslockservice are static and not enabled, there is an alert in monitoring system that
statdis not working. Now we want to start only
nfslockservice and do not want to start
nfsservice at the time of server restart.
Can we achieve it?
# systemctl list-unit-files | grep -i nfslock nfslock.service static # systemctl list-unit-files | grep -i rpc-statd rpc-statd-notify.service static rpc-statd.service static # systemctl list-unit-files | grep -i nfs.service nfs.service disabled # systemctl list-unit-files | grep -i nfs-server nfs-server.service disabled
- Red Hat Enterprise Linux 7
- Network File System
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.