Small Computer System Interface (SCSI, pron.: // SKUZ-ee) is a set of standards for physically connecting and transferring data between computers and peripheral devices. The SCSI standards define commands, protocols and electrical and optical interfaces. SCSI is most commonly used for hard disks and tape drives, but it can connect a wide range of other devices, including scanners and CD drives, although not all controllers can handle all devices. The SCSI standard defines command sets for specific peripheral device types; the presence of "unknown" as one of these types means that in theory it can be used as an interface to almost any device, but the standard is highly pragmatic and addressed toward commercial requirements.
SCSI is an intelligent, peripheral, buffered, peer to peer interface. It hides the complexity of physical format. Every device attaches to the SCSI bus in a similar manner. Up to 8 or 16 devices can be attached to a single bus. There can be any number of hosts and peripheral devices but there should be at least one host. SCSI uses handshake signals between devices, SCSI-1, SCSI-2 have the option of parity error checking. Starting with SCSI-U160 (part of SCSI-3) all commands and data are error checked by a CRC32 checksum. The SCSI protocol defines communication from host to host, host to a peripheral device, peripheral device to a peripheral device. However most peripheral devices are exclusively SCSI targets, incapable of acting as SCSI initiators—unable to initiate SCSI transactions themselves. Therefore peripheral-to-peripheral communications are uncommon, but possible in most SCSI applications. The Symbios Logic 53C810 chip is an example of a PCI host interface that can act as a SCSI target.
SCSI was derived from "SASI", the "Shugart Associates System Interface", developed c. 1978 and publicly disclosed in 1981. A SASI controller provided a bridge between a hard disk drive's low-level interface and a host computer, which needed to read blocks of data. SASI controller boards were typically the size of a hard disk drive and were usually physically mounted to the drive's chassis. SASI, which was used in mini- and early microcomputers, defined the interface as using a 50-pin flat ribbon connector which was adopted as the SCSI-1 connector. SASI is a fully compliant subset of SCSI-1 so that many, if not all, of the then-existing SASI controllers were SCSI-1 compatible.
Until at least February 1982, ANSI developed the specification as "SASI" and "Shugart Associates System Interface;" however, the committee documenting the standard would not allow it to be named after a company. Almost a full day was devoted to agreeing to name the standard "Small Computer System Interface," which Boucher intended to be pronounced "sexy", but ENDL's Dal Allan pronounced the new acronym as "scuzzy" and that stuck.
A number of companies such as NCR Corporation, Adaptec and Optimem were early supporters of the SCSI standard. The NCR facility in Wichita, Kansas is widely thought to have developed the industry's first SCSI chip; it worked the first time.
The "small" part in SCSI is historical; since the mid-1990s, SCSI has been available on even the largest of computer systems.
Since its standardization in 1986, SCSI has been commonly used in the Amiga, Apple Macintosh and Sun Microsystems computer lines and PC server systems. Apple started using Parallel ATA (also known as IDE) for its low-end machines with the Macintosh Quadra 630 in 1994, and added it to its high-end desktops starting with the Power Macintosh G3 in 1997. Apple dropped on-board SCSI completely (in favor of IDE and FireWire) with the (Blue & White) Power Mac G3 in 1999. Sun has switched its lower end range to Serial ATA (SATA). Commodore included a SCSI interface on the Amiga 3000/3000T systems and it was an add-on to previous Amiga 500/2000 models. Starting with the Amiga 600/1200/4000 systems Commodore switched to the IDE interface. SCSI has never been popular in the low-priced IBM PC world, owing to the lower cost and adequate performance of ATA hard disk standard. However, SCSI drives and even SCSI RAIDs became common in PC workstations for video or audio production.
Recent versions of SCSI – Serial Storage Architecture (SSA), SCSI-over-Fibre Channel Protocol (FCP), Serial Attached SCSI (SAS), Automation/Drive Interface − Transport Protocol (ADT), and USB Attached SCSI (UAS) – break from the traditional parallel SCSI standards and perform data transfer via serial communications. Although much of the documentation of SCSI talks about the parallel interface, most contemporary development effort is on serial SCSI. Serial SCSI has a number of advantages over parallel SCSI: faster data rates, hot swapping (some but not all parallel SCSI interfaces support it), and improved fault isolation. The primary reason for the shift to serial interfaces is the clock skew issue of high speed parallel interfaces, which makes the faster variants of parallel SCSI susceptible to problems caused by cabling and termination.
SCSI is popular on high-performance workstations and servers. RAIDs on servers have almost always used SCSI hard disks, though a number of manufacturers now offer SATA-based RAID systems as a cheaper option. Instead of SCSI, desktop computers and notebooks more typically use ATA interfaces for internal hard disk drives, and USB, eSATA, and FireWire connections for external devices.
As of 2012[update] SCSI interfaces had become impossible to find for laptop computers. Adaptec had years before produced PCMCIA SCSI interfaces, but when PCMCIA was superseded by the ExpressCard Adaptec discontinued their PCMCIA line without supporting ExpressCard. Ratoc produced USB and Firewire to SCSI adaptors, but ceased production when the integrated circuits required were discontinued. Drivers for existing PCMCIA interfaces were not produced for newer operating systems.
SCSI is available in a variety of interfaces. The first, still very common, was parallel SCSI (now also called SPI), which uses a parallel bus design. As of 2008, SPI is being replaced by Serial Attached SCSI (SAS), which uses a serial design but retains other aspects of the technology. Many other interfaces which do not rely on complete SCSI standards still implement the SCSI command protocol; others (such as iSCSI) drop physical implementation entirely while retaining the SCSI architectural model. iSCSI, for example, uses TCP/IP as a transport mechanism.
SCSI interfaces have often been included on computers from various manufacturers for use under Microsoft Windows, Mac OS, Unix, Commodore Amiga and Linux operating systems, either implemented on the motherboard or by the means of plug-in adaptors. With the advent of SAS and SATA drives, provision for SCSI on motherboards is being discontinued. A few companies still market SCSI interfaces for motherboards supporting PCIe and PCI-X.
Parallel SCSI 
Development of the SCSI Parallel Interface ended with the publication of SPI-5 in 2003. All of the versions of the interface are defined in SPI-5, except for high-voltage differential (HVD), which is in SPI-2. All other versions of SPI have been withdrawn.
The SCSI specifications include several synchronous transfer modes for the parallel cable, but also an asynchronous mode. The asynchronous mode is a classic request/acknowledge protocol. It allows systems with a slow bus or simple systems to also use SCSI devices. More frequently the faster synchronous modes are used.
|Throughput (MB/s)||Throughput (Mbit/s)||Length
|Length LVD||Length HVD||Devices||Impedance [Ω]||Voltage [V]|
|SCSI-1||Narrow SCSI||SCSI-1 (1986)||IDC50; Centronics C50||8||5 MHz||5 MB/s||40 Mbit/s||6 m||NA||25 m||8||SE 90 ± 6 Ω||SE 5 HVD ≥5|
|Fast SCSI||SCSI-2 (1994)||IDC50; Centronics C50||8||10 MHz||10 MB/s||80 Mbit/s||3 m||NA||25 m||8||SE 90 ± 6 Ω||SE 5 HVD ≥5|
SPI-5 (INCITS 367-2003)
|2 x 50-pin (SCSI-2);
1 x 68-pin (SCSI-3)
|16||10 MHz||20 MB/s||160 Mbit/s||3 m||NA||25 m||16||SE 90 ± 6 Ω||SE 5 HVD ≥5|
|Ultra SCSI||Fast-20||SPI-5 (INCITS 367-2003)||IDC50||8||20 MHz||20 MB/s||160 Mbit/s||1.5 m||NA||25 m||8||SE 90 ± 6 Ω||SE 5 HVD ≥5|
|Ultra Wide SCSI||SPI-5 (INCITS 367-2003)||68-pin||16||20 MHz||40 MB/s||320 Mbit/s||NA||NA||25 m||16||SE 90 ± 6 Ω||SE 5 HVD ≥5|
|Ultra2 SCSI||Fast-40||SPI-5 (INCITS 367-2003)||50-pin||8||40 MHz||40 MB/s||320 Mbit/s||NA||12 m||25 m||8||LVD 125 ± 10 Ω||LVD 1.2 HVD ≥5|
|Ultra2 Wide SCSI||SPI-5 (INCITS 367-2003)||68-pin; 80-pin (SCA/SCA-2)||16||40 MHz||80 MB/s||640 Mbit/s||NA||12 m||25 m||16||LVD 125 ± 10 Ω||LVD 1.2 HVD ≥5|
|Ultra3 SCSI||Ultra-160; Fast-80 wide||SPI-5 (INCITS 367-2003)||68-pin; 80-pin (SCA/SCA-2)||16||40 MHz DDR||160 MB/s||1280 Mbit/s||NA||12 m||NA||16||LVD 125 ± 10 Ω||LVD 1.2|
|Ultra-320 SCSI||Ultra-4; Fast-160||SPI-5 (INCITS 367-2003)||68-pin; 80-pin (SCA/SCA-2)||16||80 MHz DDR||320 MB/s||2560 Mbit/s||NA||12 m||NA||16||LVD 125 ± 10 Ω||LVD 1.2|
|Ultra-640 SCSI||Ultra-5; Fast-320||SPI-5 (INCITS 367-2003)||68-pin; 80-pin||16||160 MHz DDR||640 MB/s||5120 Mbit/s||NA||10 m||NA||16||LVD 125 ± 10 Ω||LVD 1.2|
Other SCSI interfaces 
|Throughput (MB/s)||Throughput (Mbit/s)||Length||Devices|
|SSA||Serial Storage Architecture||1||200 MHz||40 MB/s||320 Mbit/s||25 m||96|
|SSA 40||1||400 MHz||80 MB/s||640 Mbit/s||25 m||96|
|Fibre Channel 1Gbit||1GFC||1||1 GHz||100 MB/s||800 Mbit/s||500m/10 km||127 (FC-AL)/224 (FC-SW)|
|Fibre Channel 2Gbit||2GFC||1||2 GHz||200 MB/s||1600 Mbit/s||500m/10 km||127/224|
|Fibre Channel 4Gbit||4GFC||1||4 GHz||400 MB/s||3200 Mbit/s||500m/10 km||127/224|
|Fibre Channel 8Gbit||8GFC||1||8 GHz||800 MB/s||6400 Mbit/s||500m/10 km||127/224|
|Fibre Channel 16Gbit||16GFC||1||16 GHz||1600 MB/s||12.8 Gbit/s||500m/10 km||127/224|
|SAS 1.1||Serial attached SCSI||INCITS 417-2006||1||3 GHz||300 MB/s||2400 Mbit/s||6 m||16,256|
|SAS 2.0||INCITS 457-2010||1||6 GHz||600 MB/s||4800 Mbit/s||6 m||16,256|
|SAS 3.0||T10 Project: 2212-D for approval||1||12 GHz||1200 MB/s||9600 Mbit/s||6 m||16,256|
|IEEE 1394||Serial Bus Protocol (SBP)||IEEE Std. 1394-2008||1||400 MB/s||3200 Mbit/s||4.5 m||63|
|SCSI Express||SCSI over PCIe (SOP)||T10 pre-standard||1||8 GT/s||985 MB/s||7877 Mbit/s|
|USB Attached SCSI||UAS||INCITS 471-2010||1||5 Gbit/s||~400 MB/s||~3200 Mbit/s||127|
|ATAPI||ATA Packet Interface||NCITS 317-1998||16||33 MHz DDR||133 MB/s||457 mm (18 in)||2|
|iSCSI||RFC 5048||implementation- and network-dependent||2128 (IPv6)|
|SRP||SCSI RDMA Protocol||T10 working draft||implementation- and network-dependent|
SCSI Parallel Interface 
Internal parallel SCSI cables are usually ribbons, with two or more 50–, 68–, or 80–pin connectors attached. External cables are typically shielded (but may not be), with 50– or 68–pin connectors at each end, depending upon the specific SCSI bus width supported. The 80–pin Single Connector Attachment (SCA) is typically used for hot-pluggable devices
Fibre Channel 
Fibre Channel can be used to transport SCSI information units, as defined by the Fibre Channel Protocol for SCSI (FCP). These connections are hot-pluggable and are usually implemented with optical fiber.
Serial attached SCSI 
The SCSI RDMA Protocol (SRP) is a protocol that specifies how to transport SCSI commands over a reliable RDMA connection. This protocol can run over any RDMA-capable physical transport, e.g. InfiniBand or Ethernet when using RoCE or iWARP.
USB Attached SCSI 
Automation/Drive Interface 
The Automation/Drive Interface − Transport Protocol (ADT) is used to connect removable media devices, such as tape drives, with the controllers of the libraries (automation devices) in which they are installed. The ADI standard specifies the use of RS-422 for the physical connections. The second-generation ADT-2 standard defines iADT, use of the ADT protocol over IP (Internet Protocol) connections, such as over Ethernet. The Automation/Drive Interface − Commands standards (ADC, ADC-2, and ADC-3) define SCSI commands for these installations.
SCSI command protocol 
In addition to many different hardware implementations, the SCSI standards also include an extensive set of command definitions. The SCSI command architecture was originally defined for parallel SCSI buses but has been carried forward with minimal change for use with iSCSI and serial SCSI. Other technologies which use the SCSI command set include the ATA Packet Interface, USB Mass Storage class and FireWire SBP-2.
In SCSI terminology, communication takes place between an initiator and a target. The initiator sends a command to the target, which then responds. SCSI commands are sent in a Command Descriptor Block (CDB). The CDB consists of a one byte operation code followed by five or more bytes containing command-specific parameters.
At the end of the command sequence, the target returns a status code byte, such as 00h for success, 02h for an error (called a Check Condition), or 08h for busy. When the target returns a Check Condition in response to a command, the initiator usually then issues a SCSI Request Sense command in order to obtain a key code qualifier (KCQ) from the target. The Check Condition and Request Sense sequence involves a special SCSI protocol called a Contingent Allegiance Condition.
There are 4 categories of SCSI commands: N (non-data), W (writing data from initiator to target), R (reading data), and B (bidirectional). There are about 60 different SCSI commands in total, with the most commonly used being:
- Test unit ready: Queries device to see if it is ready for data transfers (disk spun up, media loaded, etc.).
- Inquiry: Returns basic device information.
- Request sense: Returns any error codes from the previous command that returned an error status.
- Send diagnostic and Receive diagnostic results: runs a simple self-test, or a specialised test defined in a diagnostic page.
- Start/Stop unit: Spins disks up and down, or loads/unloads media (CD, tape, etc.).
- Read capacity: Returns storage capacity.
- Format unit: Prepares a storage medium for use. In a disk, a low level format will occur. Some tape drives will erase the tape in response to this command.
- Read (four variants): Reads data from a device.
- Write (four variants): Writes data to a device.
- Log sense: Returns current information from log pages.
- Mode sense: Returns current device parameters from mode pages.
- Mode select: Sets device parameters in a mode page.
Each device on the SCSI bus is assigned a unique SCSI identification number or ID. Devices may encompass multiple logical units, which are addressed by logical unit number (LUN). Simple devices have just one LUN, more complex devices may have multiple LUNs.
A "direct access" (i.e. disk type) storage device consists of a number of logical blocks, addressed by Logical Block Address (LBA). A typical LBA equates to 512 bytes of storage. The usage of LBAs has evolved over time and so four different command variants are provided for reading and writing data. The Read(6) and Write(6) commands contain a 21-bit LBA address. The Read(10), Read(12), Read Long, Write(10), Write(12), and Write Long commands all contain a 32-bit LBA address plus various other parameter options.
The capacity of a "sequential access" (i.e. tape-type) device is not specified because it depends, amongst other things, on the length of the tape, which is not identified in a machine-readable way. Read and write operations on a sequential access device begin at the current tape position, not at a specific LBA. The block size on sequential access devices can either be fixed or variable, depending on the specific device. Tape devices such as half-inch 9-track tape, DDS (4 mm tapes physically similar to DAT), Exabyte, etc., support variable block sizes.
Device identification 
||This section may be too technical for most readers to understand. (June 2008)|
In modern SCSI transport protocols, there is an automated process for "discovery" of the IDs. SSA initiators "walk the loop" to determine what devices are connected and then assigns each one a 7-bit "hop-count" value. Fibre Channel – Arbitrated Loop (FC-AL) initiators use the LIP (Loop Initialization Protocol) to interrogate each device port for its WWN (World Wide Name). For iSCSI, because of the unlimited scope of the (IP) network, the process is quite complicated. These discovery processes occur at power-on/initialization time and also if the bus topology changes later, for example if an extra device is added.
On a parallel SCSI bus, a device (e.g. host adapter, disk drive) is identified by a "SCSI ID", which is a number in the range 0–7 on a narrow bus and in the range 0–15 on a wide bus. On earlier models a physical jumper or switch controls the SCSI ID of the initiator (host adapter). On modern host adapters (since about 1997), doing I/O to the adapter sets the SCSI ID; for example, the adapter often contains a BIOS program that runs when the computer boots up and that program has menus that let the operator choose the SCSI ID of the host adapter. Alternatively, the host adapter may come with software that must be installed on the host computer to configure the SCSI ID. The traditional SCSI ID for a host adapter is 7, as that ID has the highest priority during bus arbitration (even on a 16 bit bus).
The SCSI ID of a device in a drive enclosure that has a backplane is set either by jumpers or by the slot in the enclosure the device is installed into, depending on the model of the enclosure. In the latter case, each slot on the enclosure's back plane delivers control signals to the drive to select a unique SCSI ID. A SCSI enclosure without a back plane often has a switch for each drive to choose the drive's SCSI ID. The enclosure is packaged with connectors that must be plugged into the drive where the jumpers are typically located; the switch emulates the necessary jumpers. While there is no standard that makes this work, drive designers typically set up their jumper headers in a consistent format that matches the way that these switches implement.
Note that a SCSI target device (which can be called a "physical unit") is often divided into smaller "logical units." For example, a high-end disk subsystem may be a single SCSI device but contain dozens of individual disk drives, each of which is a logical unit (more commonly, it is not that simple—virtual disk devices are generated by the subsystem based on the storage in those physical drives, and each virtual disk device is a logical unit). The SCSI ID, WWN, etc. in this case identifies the whole subsystem, and a second number, the logical unit number (LUN) identifies a disk device within the subsystem.
Setting the bootable (or first) hard disk to SCSI ID 0 is an accepted IT community recommendation. SCSI ID 2 is usually set aside for the floppy disk drive while SCSI ID 3 is typically for a CD-ROM drive.
Device Type 
While all SCSI controllers can work with read/write storage devices, i.e. disk and tape, some will not work with some other device types; older controllers are likely to be more limited, sometimes by their driver software, and more Device Types were added as SCSI evolved. Even CD-ROMs are not handled by all controllers. Device Type is a 5-bit field reported by a SCSI Inquiry Command; defined SCSI Peripheral Device Types include, in addition to many varieties of storage device, printer, scanner, communications device, and a catch-all "processor" type for devices not otherwise listed.
SCSI enclosure services 
In larger SCSI servers, the disk-drive devices are housed in an intelligent enclosure that supports SCSI Enclosure Services (SES). The initiator can communicate with the enclosure using a specialized set of SCSI commands to access power, cooling, and other non-data characteristics.
See also 
- Field. The Book of SCSI. p. 1.
- ANSI Draft SASI Standard, Rev D, February 17, 1982, pg. ii states, "9/15/81 first presentation to ANSI committee X3T9-3 (2 weeks following announcement in Electronic Design)."
- ANSI SCSI Standard, X3.131-1986, June 23, 1986, 2nd, foreword.
- "How Computer Storage Became a Modern Business," Computer History Museum, March 9, 2005
- Working document for ANSI meeting on March 3, 1982, "SASI SHUGART ASSOCIATES SYSTEM INTERFACE, Revision D, February 17, 1982"
- ENDL Inc. Home Page
- NCR Collection (LSI Logic)at Smithsonian Museum
- Specifications are maintained by the T10 subcommittee of the International Committee for Information Technology Standards.
- Clock rate in MHz for SPI, or bitrate (per second) for serial interfaces
- In megabytes per second
- In megabits per second
- For daisy-chain designs, length of bus, from end to end; for point-to-point, length of a single link
- LVD cabling may be up to 25m when only a single device is attached to the host adapter, 20 m for Ultra-640
- Including any host adapters (i.e., computers count as a device)
- The SCSI-1 specification has been withdrawn and is superseded by SCSI-2. The SCSI-3 SPI specification has been withdrawn and is superseded by SPI-2. The SCSI-3 SPI-3 and SPI-4 specifications have been withdrawn and are superseded by SPI-5. "T10 Withdrawn Standards and Technical Reports". Retrieved March 18, 2010.
- "Random Problems Encountered When Mixing SE and LVD SCSI Standards". Retrieved May 7, 2008.
- Ultra-640 substantially increases the requirements for cabling and backplanes, hampering a smooth transition; see T10/01-224r0 "Ultra640 SCSI Measured Data from Cables & Backplanes"
- Ultra-640 devices cannot commonly be found due to the technical requirements and the industry's shift towards Serial Attached SCSI.
- spatial reuse
- full duplex
- per direction
- 500 meters for multi-mode, 10 kilometers for single-mode
- 128 per expander
- SCSI Standards & Cables for the "normal"* person
- "na_lun(1) – Manual page for "lun" on NetApp DataONTAP". NetApp. July 7, 2009. "The lun command is used to create and manage luns[...]"
- "na_lun(1) – Manual page for "lun" on NetApp DataONTAP". NetApp. July 7, 2009. "If a LUN ID is not specified, the smallest number [...] is automatically picked."
- Groth, David; Dan Newland (January 2001). A+ Complete Study Guide (2nd Edition). Alameda, CA, USA: l Sybex. p. 183. ISBN 0-7821-4244-3.
- An example of an old SCSI interface which supported only named mass storage devices
- Pickett, Joseph P., et al. (ed), ed. (2000). The American Heritage Dictionary of the English Language (AHD) (Fourth Edition ed.). Houghton Mifflin Company. ISBN 0-395-82517-2.
- Field, Gary; Peter Ridge, John Lohmeyer, Gerhard Islinger, Stefan Groll (2000). The Book of SCSI (2nd Edition ed.). No Starch Press. ISBN 1-886411-10-7.
|Wikimedia Commons has media related to: SCSI|
|Look up SCSI in Wiktionary, the free dictionary.|
- Pacific Custom Cable: SCSI Tutorial
- Delec: Hardware Guide: SCSI Guide (archive at Internet Archive)
- DataPro: All About SCSI
- InterNational Committee for Information Technology Standards: T10 Technical Committee on SCSI Storage Interfaces (SCSI standards committee)
- SCSI Trade Association: Terms and Terminology
- Berg Software Design: Storage Cornucopia
- David Woodsmall: Complete SCSI / iSCSI / RAID / SAS Reference
- PC 911: How-To Guides: Nothing Scuzzy about SCSI
- PINOUTS.RU: HDD connectors pinouts (has links to PINOUTS.RU pages about SCSI hard drives)
- IBM: developerWorks: Anatomy of the Linux SCSI subsystem
- SCSI4ME: Internal SCSI Connectors / External SCSI Connectors (visual aids for SCSI connectors)
- WWW Virtual Library for SCSI, The Small Computer Systems Interface
- IBM: SCSI connector photos, specifications, and options - Servers and IntelliStation
- Gary Field: SCSI Info Central (home of the official FAQ for the comp.periphs.scsi Usenet newsgroup)
- SCSI terms explained by Adaptec
- SCSI interface board for a 1MHz 6502 computer