SGSAFTE(8)SGSAFTE(8)NAMEsgsafte - get SAF-TE status and set disk LEDs
SYNOPSISsgsafte [-defmnrx]
DESCRIPTION
Sgsafte is a program that uses the SCSI Generic interface to send spe‐
cific SCSI commands to obtain the SAF-TE hotswap backplane slot sta‐
tuses, and to optionally set a disk fault LED.
The SCSI Generic interface requires that the kernel .config file have
CONFIG_CHR_DEV_SG set.
A log file, named sgsafte.log is created in the /var/log directory
which logs the status of the functions and any errors.
OPTIONS
Command line options are described below.
-? This option displays a summary of the commands accepted.
-d Specifies the drive number to set (0, 1, ...) as displayed in
the sgsafte display.
-e Causes any file writes to be avoided, such as the log file.
-m Use More than 8-byte serial numbers (i.e. 12 bytes). Some disk
vendors use longer serial numbers. The default is to detect
either 8 or 12 byte serial numbers from the SCSI inquiry
response.
-n Naming. By default, the device names are displayed as numeric
sequences (/dev/sg0). This option shows the device names as
alphabetic sequences (/dev/sga).
-x Causes extra debug messages to be displayed.
SEE ALSOsgdiag(8)sgdskfl(8)sgmode(8)sgdefects(8)WARNINGS
On some systems with older scsi drivers, the primary defect list cannot
be returned without errors.
See http://sourceforge.net/projects/scsirastools/ for a bug list and
any later versions of this utility.
COPYRIGHT
Copyright (C) 2001-2002 Intel Corp.
This program is open source software. You can redistribute it and/or
modify it under the terms of the BSD License. See the COPYING file
included with this software package for more details regarding distri‐
bution.
This software is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY.
AUTHOR
Andy Cress <arcress@users.sourceforge.net>
Version 1.1: 09 Nov 2001 SGSAFTE(8)