I am now trying to get our system automation to play with the new Spectrum Scale Protocols 5.0.1-0 release and have found that the nfs-ganesha.service can no longer start:
# systemctl status nfs-ganesha
● nfs-ganesha.service - NFS-Ganesha file server
Loaded: loaded (/usr/lib/systemd/system/nfs-ganesha.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-05-15 12:43:23 CDT; 8s ago
Docs: http://github.com/nfs-ganesha/nfs-ganesha/wiki
Process: 8398 ExecStart=/usr/bin/ganesha.nfsd $OPTIONS (code=exited, status=203/EXEC)
May 15 12:43:23 fpia-gpfs-testing-cnfs01 systemd[1]: Starting NFS-Ganesha file server...
May 15 12:43:23 fpia-gpfs-testing-cnfs01 systemd[8398]: Failed at step EXEC spawning /usr/bin/ganesha.nfsd: No such file or directory
May 15 12:43:23 fpia-gpfs-testing-cnfs01 systemd[1]: nfs-ganesha.service: control process exited, code=exited status=203
May 15 12:43:23 fpia-gpfs-testing-cnfs01 systemd[1]: Failed to start NFS-Ganesha file server.
May 15 12:43:23 fpia-gpfs-testing-cnfs01 systemd[1]: Unit nfs-ganesha.service entered failed state.
May 15 12:43:23 fpia-gpfs-testing-cnfs01 systemd[1]: nfs-ganesha.service failed.
Sure enough, it’s not there anymore:
# ls /usr/bin/*ganesha*
/usr/bin/ganesha_conf /usr/bin/ganesha_mgr /usr/bin/ganesha_stats /usr/bin/gpfs.ganesha.nfsd /usr/bin/sm_notify.ganesha
So I wondered what does provide it:
# yum whatprovides /usr/bin/ganesha.nfsd
Loaded plugins: etckeeper, priorities
2490 packages excluded due to repository priority protections
[snip]
nfs-ganesha-2.3.2-0.ibm55.el7.x86_64 : NFS-Ganesha is a NFS Server running in user space
Repo : @rhel7-universal-linux-production
Matched from:
Filename : /usr/bin/ganesha.nfsd
Confirmed again just for sanity sake:
# rpm -ql nfs-ganesha-2.3.2-0.ibm55.el7.x86_64 | grep "/usr/bin/ganesha.nfsd"
/usr/bin/ganesha.nfsd
But it’s not in the latest release:
# rpm -ql nfs-ganesha-2.5.3-ibm020.00.el7.x86_64 | grep "/usr/bin/ganesha.nfsd"
#
I also looked in every RPM package that was provided in the Spectrum Scale 5.0.1-0 download.
So should it be provided? Or should the service really try to start `/usr/bin/gpfs.ganesha.nfsd`?? Or should there be a symlink between the two??? Is this something the magical Spectrum Scale Install Toolkit would do under the covers????
Cheers,
-Bryan