"sesutil locate all off" will skip empty slots. This is a problem, because for example if you use "sesutil locate da5 on" to locate a bad drive and then remove it, you can't turn the beacon off without using a sesid. The fault command is probably affected too, but I didn't test it.
Yes the fault command is also affected, I do not have spare hardware right now to test and make a fix, I'll try to remember to fix that once I have hardware available in our lab
https://reviews.freebsd.org/D10458
A commit references this bug: Author: allanjude Date: Tue Jun 6 02:03:22 UTC 2017 New revision: 319610 URL: https://svnweb.freebsd.org/changeset/base/319610 Log: usr.sbin/sesutil: 'locate all off' does not deactivate empty slots PR: 217409 Reported by: asomers Reviewed by: asomers, bapt MFC after: 1 week Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D10458 Changes: head/usr.sbin/sesutil/sesutil.c
A commit references this bug: Author: allanjude Date: Tue Jun 13 15:23:49 UTC 2017 New revision: 319901 URL: https://svnweb.freebsd.org/changeset/base/319901 Log: MFC r319610: usr.sbin/sesutil: correct 'locate all off' to deactivate empty slot LEDs PR: 217409 Approved by: re (marius) Changes: _U stable/11/ stable/11/usr.sbin/sesutil/sesutil.c