BTW, I just tried the symlink option and it seems to work:
# ln -s gpfs.ganesha.nfsd ganesha.nfsd
# ls -ld ganesha.nfsd
lrwxrwxrwx 1 root root 17 May 15 13:05 ganesha.nfsd -> gpfs.ganesha.nfsd
#
# systemctl restart nfs-ganesha.service
# systemctl status nfs-ganesha.service
● nfs-ganesha.service - NFS-Ganesha file server
Loaded: loaded (/usr/lib/systemd/system/nfs-ganesha.service; disabled;
vendor preset: disabled)
Active: active (running) since Tue 2018-05-15 13:06:10 CDT; 5s ago
Docs: http://github.com/nfs-ganesha/nfs-ganesha/wiki
Process: 62888 ExecStop=/bin/dbus-send --system --dest=org.ganesha.nfsd
--type=method_call /org/ganesha/nfsd/admin org.ganesha.nfsd.admin.shutdown
(code=exited, status=0/SUCCESS)
Process: 63091 ExecStartPost=/bin/bash -c prlimit --pid $MAINPID
--nofile=$NOFILE:$NOFILE (code=exited, status=0/SUCCESS)
Process: 63089 ExecStart=/usr/bin/ganesha.nfsd $OPTIONS (code=exited,
status=0/SUCCESS)
Main PID: 63090 (ganesha.nfsd)
Memory: 6.1M
CGroup: /system.slice/nfs-ganesha.service
└─63090 /usr/bin/ganesha.nfsd -L /var/log/ganesha.log -f
/etc/ganesha/ganesha.conf -N NIV_EVENT
May 15 13:06:10 fpia-gpfs-testing-cnfs01 systemd[1]: Starting NFS-Ganesha file
server...
May 15 13:06:10 fpia-gpfs-testing-cnfs01 systemd[1]: Started NFS-Ganesha file
server.
[root@fpia-gpfs-testing-cnfs01 bin]#
Cheers,
-Bryan
From: [email protected]
[mailto:[email protected]] On Behalf Of Bryan Banister
Sent: Tuesday, May 15, 2018 1:05 PM
To: gpfsug main discussion list ([email protected])
<[email protected]>
Subject: [gpfsug-discuss] What happened to /usr/bin/ganesha.nfsd in 5.0.1-0??
Note: External Email
________________________________
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
________________________________
Note: This email is for the confidential use of the named addressee(s) only and
may contain proprietary, confidential or privileged information. If you are not
the intended recipient, you are hereby notified that any review, dissemination
or copying of this email is strictly prohibited, and to please notify the
sender immediately and destroy this email and any attachments. Email
transmission cannot be guaranteed to be secure or error-free. The Company,
therefore, does not make any guarantees as to the completeness or accuracy of
this email or any attachments. This email is for informational purposes only
and does not constitute a recommendation, offer, request or solicitation of any
kind to buy, sell, subscribe, redeem or perform any type of transaction of a
financial product.
________________________________
Note: This email is for the confidential use of the named addressee(s) only and
may contain proprietary, confidential or privileged information. If you are not
the intended recipient, you are hereby notified that any review, dissemination
or copying of this email is strictly prohibited, and to please notify the
sender immediately and destroy this email and any attachments. Email
transmission cannot be guaranteed to be secure or error-free. The Company,
therefore, does not make any guarantees as to the completeness or accuracy of
this email or any attachments. This email is for informational purposes only
and does not constitute a recommendation, offer, request or solicitation of any
kind to buy, sell, subscribe, redeem or perform any type of transaction of a
financial product.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss