Information about Scsi



SCSI (Small Computer System Interface) 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 optical drives (CD, DVD, etc.). The SCSI standard contains definitions of command sets of specific peripheral device types; the presence of "unknown" as one of these types means that in theory it can be used to interface almost any device, but the standard is highly pragmatic and addressed toward commercial requirements.

SCSI is most commonly pronounced "scuzzy".[1][2]

History

SCSI is based on "SASI", the "Shugart Associates System Interface", introduced by that company in 1979. The Shugart SASI controller provided an interface between a hard disk's serial analog interface (called RLL) and a host computer, which needed to read sectors (blocks) of data. SASI interface boards were 5¼" x 8" in size, usually mounted on top of a hard disk drive. SASI was used in mini- and microcomputers like the Apple II. SASI defined the interface as using a 50-pin flat ribbon connector.

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 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 G3 in 1999. Sun has switched its lower end range to Serial ATA (SATA). SCSI has never been popular in the low-priced IBM PC world, owing to the lower cost and adequate performance of its ATA hard disk standard. SCSI drives and even SCSI RAIDs became common in PC workstations for video or audio production, but the appearance of large cheap SATA drives means that SATA is rapidly taking over this market.

Currently, SCSI is popular on high-performance workstations and servers. RAIDs on servers almost always use SCSI hard disks, though a number of manufacturers offer SATA-based RAID systems as a cheaper option. Desktop computers and notebooks more typically use the ATA/IDE or the newer SATA interfaces for hard disks, and USB and FireWire connections for external devices.

SCSI interfaces

SCSI is available in a variety of interfaces. The first, still very common, was parallel SCSI (also called SPI). It uses a parallel electrical bus design. The traditional SPI design is making a transition to Serial Attached SCSI, which switches to a serial point-to-point design but retains other aspects of the technology. iSCSI drops physical implementation entirely, and instead uses TCP/IP as a transport mechanism. Finally, many other interfaces which do not rely on complete SCSI standards still implement the SCSI command protocol

SCSI interfaces have traditionally been included on computers from various manufacturers for Windows, Mac and Linux environments. However, with the advent of SAS and SATA drives, motherboard manufacturers have moved SCSI connectors off of the board replacing them with the aforementioned connectivity. A handful of companies still market their SCSI interface connectivity for PCIe and PCI-X based motherboards.

Connector information: See SCSI connector

Parallel SCSI

Interface Alternative
names
Specification
document
Connector Width
(bits)
Clock[3] Maximum
Throughput[4] Length
(single ended)[5]
Length LVD Length HVD Devices[6]
SCSI-1SCSI-1IDC50; Centronics C5085 MHz5 MB/s6 mNA25m8
Fast SCSISCSI-2IDC50; Centronics C50810 MHz10 MB/s1.5-3 mNA25m8
Fast-Wide SCSISCSI-2;
SCSI-3 SPI
2 x 50-pin (SCSI-2);
1 x 68-pin (SCSI-3)
1610 MHz20 MB/s1.5-3 mNA25m16
Ultra SCSIFast-20SCSI-3 SPIIDC50820 MHz20 MB/s1.5-3 mNA25m8
Ultra Wide SCSISCSI-3 SPI68-pin1620 MHz40 MB/s1.5-3 mNA25m16
Ultra2 SCSIFast-40SCSI-3 SPI-250-pin840 MHz40 MB/sNA12m25m8
Ultra2 Wide SCSISCSI-3 SPI-268-pin; 80-pin (SCA/SCA-2)1640 MHz80 MB/sNA12m25m16
Ultra3 SCSIUltra-160SCSI-3 SPI-368-pin; 80-pin (SCA/SCA-2)1640 MHz DDR160 MB/sNA12mNA16
Ultra-320 SCSI68-pin; 80-pin (SCA/SCA-2)1680 MHz DDR320 MB/sNA12mNA16
Ultra-640 SCSI68-pin; 80-pin16160 MHz DDR640 MB/s??16

Fiber, serial and iSCSI

Interface Alternative
names
Specification
document
Connector Width
(bits)
Clock[3] Maximum
Throughput[4] Length[5] Devices[6]
SSA1200 MHz40 MB/s[7][8]25 m96
SSA 401400 MHz80 MB/s[7][8]25 m96
FC-AL 1Gb11 GHz100 MB/s[9][8]500m/3km[10]127
FC-AL 2Gb12 GHz200 MB/s[9][8]500m/3km[10]127
FC-AL 4Gb14 GHz400 MB/s[9][8]500m/3km[10]127
SAS13 GHz300 MB/s[9][8]6 m16,256[11]
iSCSIImplementation/network-dependent

SCSI cabling

Internal SCSI cables are usually ribbon cables that have multiple 68 pin or 50 pin connectors. External cables are shielded and only have connectors on the ends.

iSCSI

iSCSI preserves the basic SCSI paradigm, especially the command set, almost unchanged. iSCSI advocates project the iSCSI standard, an embedding of SCSI-3 over TCP/IP, as displacing Fibre Channel in the long run, arguing that Ethernet data rates are currently increasing faster than data rates for Fibre Channel and similar disk-attachment technologies. iSCSI could thus address both the low-end and high-end markets with a single commodity-based technology.

Serial SCSI

Four recent versions of SCSI, SSA, FC-AL, FireWire, and Serial Attached SCSI (SAS) 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, 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. Serial SCSI devices are more expensive than the equivalent parallel SCSI devices, but this is likely to change soon.

SCSI command protocol

In addition to many different hardware implementations, the SCSI standards also include a complex set of command protocol 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 which is usually 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 common being: Each device on the SCSI bus is assigned at least one 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, usually referred to by the term 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.

A "sequential access" (i.e. tape-type) device does not have a specific capacity because it typically depends on the length of the tape, which is not known exactly. Reads and writes on a sequential access device happen at the current position, not at a specific LBA. The block size on sequential access devices can either be fixed or variable, depending on the specific device. (Earlier devices, such as 9-track tape, tended to be fixed block, while later types, such as DAT, almost always supported variable block sizes.)

SCSI device identification

In the modern SCSI transport protocols, there is an automated process of "discovery" of the IDs. SSA initiators "walk the loop" to determine what devices are there and then assign each one a 7-bit "hop-count" value. 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 backplane 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 subystem based on the storage in those physical drives, and each virtual disk device is a logical unit). The SCSI ID, WWNN, etc. in this case identifies the whole subsystem, and a second number, the logical unit number (LUN) identifies a disk device within the subsystem.

It is quite common, though incorrect, to refer to the logical unit itself as a "LUN." Accordingly, the actual LUN may be called a "LUN number" or "LUN id".

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 drive while SCSI ID 3 is typically for a CD ROM (Ref: David Groth and Dan Newland, A+ Complete Study Guide (2nd Edition), Sybex, Alameda, CA, 2001, p.183)

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 specialised set of SCSI commands to access power, cooling, and other non-data characteristics.

See also

References

1. ^ "SCSI." American Heritage Dictionary.
2. ^ Field. The Book of SCSI, 1. 
3. ^ Clock rate in MHz for SPI, or bitrate (per second) for serial interfaces
4. ^ In megabytes per second, not megabits per second
5. ^ For daisy-chain designs, length of bus, from end to end; for point-to-point, length of a single link
6. ^ Including any host adapters (i.e., computers count as a device)
7. ^ spatial reuse
8. ^ full duplex
9. ^ per direction
10. ^ 500 meters for multi-mode, 3 kilometers for single-mode
11. ^ 128 per expander

Bibliography

  • (2000) in Pickett, Joseph P., et al. (ed): The American Heritage Dictionary of the English Language (AHD), Fourth Edition, 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, No Starch Press. ISBN 1-886411-10-7. 

External links

Skuzzy sternwheeler was built by Canadian Pacific Railway contractor, Andrew Onderdonk, at Spuzzum, British Columbia and was launched on the Fraser River on May 4 1882.

In his book, Paddlewheels on the Frontier
..... Click the link for more information.
In computer hardware, a peripheral device is any device attached to a computer in order to expand its functionality. Some of the more common peripheral devices are printers, scanners, disk drives, tape drives, microphones, speakers, and cameras.
..... Click the link for more information.
SCSI 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.
..... Click the link for more information.
An interface defines the communication boundary between two entities, such as a piece of software, a hardware device, or a user. It generally refers to an abstraction that an entity provides of itself to the outside.
..... Click the link for more information.
optical disk drive (ODD) is a disk drive that uses electromagnetic waves as part of the process of reading and writing data. It is a computer's peripheral device, that stores data on optical discs.
..... Click the link for more information.
CD-ROM (an abbreviation of "Compact Disc read-only media") is a Compact Disc that contains data accessible by a computer. While the Compact Disc format was originally designed for music storage and playback, the format was later adapted to hold any form of binary data.
..... Click the link for more information.
DVD

Media type: Optical disc
Capacity: 4.7 GB (single layer), 8.5 GB (dual layer)
Usage: Data storage, audio, video, games

Optical disc authoring
  • Optical disc
  • Optical disc image
  • Recorder hardware
  • Authoring software

..... Click the link for more information.
A SCSI Peripheral Device Type is a way of describing what capabilities are provided by a SCSI device. It is a five-bit field which can be found in the Standard Inquiry Data provided in response to an Inquiry Command.
..... Click the link for more information.
SASI or SASI Student Information System is a computer program developed by Pearson School Systems to electronically manage student attendance, discipline, grades and other student data. Features of SASI include SASIxp, Integrade Pro, classroomXP, and Parent Access.
..... Click the link for more information.
Shugart Associates was a computer peripheral manufacturer that dominated the floppy disk drive market in the late 1970s and is famous for introducing the minifloppy disk drive.

Founded in 1973, Shugart Associates was purchased by Xerox in 1977.
..... Click the link for more information.
Apple II (sometimes written as Apple ][ or Apple //) was the first popular microcomputer manufactured by Apple. Its direct ancestor was the Apple I, a limited production circuit board computer for electronics hobbyists which pioneered many features that made the Apple
..... Click the link for more information.
Amiga is a family of personal computers originally developed by Amiga Corporation. Development on the Amiga began in 1982 with Jay Miner (1932-1994) as the principal hardware designer.
..... Click the link for more information.
Macintosh, commonly known as Mac, is a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc. Named after the McIntosh variety of apple, the original Macintosh was released on January 24, 1984.
..... Click the link for more information.
Sun Microsystems

Public (NASDAQ:  JAVA )
Founded 1982
Headquarters Santa Clara, California, United States

Key people Scott McNealy, Chairman
Jonathan I.
..... Click the link for more information.
Advanced Technology Attachment (ATA) is a standard interface for connecting storage devices such as hard disks and CD-ROM drives inside personal computers.

The standard is maintained by X3/INCITS committee T13.
..... Click the link for more information.
Macintosh Quadra 630 (Codenames: "Crusader", "Show Biz", "Show & Tell"; also sold with minor variations as the Macintosh LC 630 in the educational market and as the Macintosh Performa 630
..... Click the link for more information.
Power Macintosh G3, commonly called "beige G3s" or "platinum G3s" for the color of their cases, is a series of personal computers that was designed, manufactured, and sold by Apple Computer, Inc. from November 1997 to January 1999.
..... Click the link for more information.
FireWire

Year created: 1990
Created by: Apple



Width:
Number of devices: 63
Capacity 400/800 Mbit/s
Style: Serial
Hotplugging? Yes
External? Yes

FireWire is Apple Inc.
..... Click the link for more information.
Power Macintosh G3 series (commonly known as the "Blue and White G3", or sometimes just the "B&W G3" to distingush it from the original "beige" G3 Power Macintoshes) was a series of personal computers designed, manufactured and sold by Apple Computer, Inc.
..... Click the link for more information.
SATA or Sata can refer to:
  • Serial ATA, a computer bus technology for connecting hard disks and other devices
  • SATA Air Açores, an airline based in Ponta Delgada, the Azores, Portugal

..... Click the link for more information.
IBM PC Series IBM Personal Computer XT • IBM Portable Personal Computer • IBM PCjr ?

IBM PC (model 5150)
Type Personal computer
Released August 12, 1981
Discontinued April 2, 1987
Processor Intel 8088 @ 4.
..... Click the link for more information.
Advanced Technology Attachment (ATA) is a standard interface for connecting storage devices such as hard disks and CD-ROM drives inside personal computers.

The standard is maintained by X3/INCITS committee T13.
..... Click the link for more information.
Raid or RAID may refer to:
  • Redundant Array of Independent/Inexpensive Disks, or RAID, a system of multiple hard drives for sharing or replicating data.

..... Click the link for more information.
workstation, such as a Unix workstation, RISC workstation or engineering workstation, is a high-end desktop or deskside microcomputer designed for technical applications.
..... Click the link for more information.
Server Computer

The inside/front of a server computer

Connects to:
  • Internet via one of

..... Click the link for more information.
Raid or RAID may refer to:
  • Redundant Array of Independent/Inexpensive Disks, or RAID, a system of multiple hard drives for sharing or replicating data.

..... Click the link for more information.
personal computer (PC) is a computer whose original sales price, size, and capabilities make it useful for individuals.

It is unknown who coined the phrase with the intent of a small affordable computing device but John W.
..... Click the link for more information.
laptop computer, or simply laptop (also notebook computer or notebook), is a small mobile computer, which usually weighs 2-18 pounds (1-6 kilograms), depending on size, materials, and other factors.

A laptop computer is much smaller than a desktop.
..... Click the link for more information.
Advanced Technology Attachment (ATA) is a standard interface for connecting storage devices such as hard disks and CD-ROM drives inside personal computers.

The standard is maintained by X3/INCITS committee T13.
..... Click the link for more information.
USB
Universal Serial Bus

Original USB Logo
Year created: January 1996



Width:
Number of devices: 127 per host
Capacity Up to 12Mbit/s (USB 1.0)
Up to 480 Mbit/s (USB 2.
..... Click the link for more information.


This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus


page counter