SG_SAFTE(8) | SG3_UTILS | SG_SAFTE(8) |
sg_safte - access SCSI Accessed Fault-Tolerant Enclosure (SAF-TE) device
sg_safte [--config] [--devstatus] [--encstatus] [--flags] [--help] [--hex] [--insertions] [--raw] [--usage] [--verbose] [--version] DEVICE
Fetches enclosure status (via a SCSI READ BUFFER command). The DEVICE should be a SAF-TE device which may be a storage array controller (INQUIRY peripheral device type 0xc) or a generic processor device (INQUIRY peripheral device type 0x3).
If no options are given (only the DEVICE argument) then the overall enclosure status as reported by the option --config is reported.
Arguments to long options are mandatory for short options as well. The options are arranged in alphabetical order based on the long option name.
This implementation is based on the intermediate review document dated 19970414 and named "SR041497.pdf". So it is quite old. Intel and nStor are the authors. Intel have a zip archive containing this and related documents in the "SAF-TE: SCSI Accessed Fault Tolerant Enclosures Interface Specification" section of this page:
http://www.intel.com/content/www/us/en/servers/ipmi/ipmi-technical-resources.html
Similar functionality is provided by SPC-4 SCSI Enclosure Services (SES) devices (Peripheral device type 0xd), which can be queried with the sg_ses utility.
To view the configuration:
sg_safte /dev/sg1
To view the device slot status:
sg_safte --devstatus /dev/sg1
The exit status of sg_safte is 0 when it is successful. Otherwise see the sg3_utils(8) man page.
Written by Hannes Reinecke and Douglas Gilbert.
Report bugs to <dgilbert at interlog dot com>.
Copyright © 2004-2016 Hannes Reinecke and Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty;
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sg_inq, sg_ses (in sg3_utils package); safte-monitor (internet)
April 2016 | sg3_utils-1.43 |