SGSAFTE(8) | System Manager's Manual | SGSAFTE(8) |
NAME¶
sgsafte - get SAF-TE status and set disk LEDs
SYNOPSIS¶
sgsafte [-defmnrx]
DESCRIPTION¶
Sgsafte is a program that uses the SCSI Generic interface to send specific SCSI commands to obtain the SAF-TE hotswap backplane slot statuses, 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 ALSO¶
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 distribution.
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 |