This is an utility for managing SCSI Enclosure Services (SES) device. For now only one command is supported "locate" which will change the test of the external LED associated to a given disk. Usage if the following: sesutil locate disk [on|off] Disk can be a device name: "da12" or a special keyword: "all". Reviewed by: mav MFC after: 1 month Relnotes: yes Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D3544
74 lines
2.2 KiB
Groff
74 lines
2.2 KiB
Groff
.\" Copyright (c) 2015 Baptiste Daroussin <bapt@FreeBSD.org>
|
|
.\" All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd September 1, 2015
|
|
.Dt SESUTIL 8
|
|
.Os
|
|
.Sh NAME
|
|
.Nm sesutil
|
|
.Nd Utility for managing SCSI Enclosure Services (SES) device
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Cm locate Ar disk Bq on|off
|
|
.Sh DESCRIPTION
|
|
The
|
|
.Nm
|
|
utility can be used to modify various parameter on SCSI Enclosure Services
|
|
(SES) device.
|
|
.Pp
|
|
List of supported commands:
|
|
.Bl -tag -width indent
|
|
.It Cm locate Ar disk Bq on|off
|
|
Change the state of the external LED associated with
|
|
.Ar disk .
|
|
.Ar disk
|
|
can be the device name of the disk, like
|
|
.Cm da12 ,
|
|
or
|
|
.Cm all .
|
|
to indicate all disks attached to SES controllers.
|
|
.El
|
|
.Sh EXAMPLES
|
|
Turn off all external LEDs:
|
|
.Pp
|
|
.Dl Nm Cm locate all off
|
|
.Pp
|
|
Turn on the external LED of drive
|
|
.Pa da15 :
|
|
.Pp
|
|
.Dl Nm Cm locate da15 on
|
|
.Sh SEE ALSO
|
|
.Xr ses 4
|
|
.Sh HISTORY
|
|
The
|
|
.Nm
|
|
utility first appeared in
|
|
.Fx 11.0 .
|
|
.Sh AUTHORS
|
|
The
|
|
.Nm utility was written by
|
|
.An Baptiste Daroussin Aq Mt bapt@FreeBSD.org .
|