Utente:Marius~itwiki/wip

Da Wikipedia, l'enciclopedia libera.
Vai alla navigazione Vai alla ricerca

SCSI è l'acronimo di Small Computer System Interface, e definisce l'interfaccia standard per il trasferimento di dati fra diversi dispositivi interni di un computer (detti devices) collegati fra di loro tramite un bus. SCSI si pronuncia scasi (qualcuno, senza successo, ha proposto in passato la pronuncia sexy).

Per collegare un computer ad un host il bus di collegamento ha bisogno di un host adapter SCSI che gestisce il trasferimento dei dati sul bus stesso. La periferica deve disporre di un controller SCSI, che è solitamente incorporato in tutte le periferiche, ad eccezione di quelle di più vecchia concezione. L'interfaccia SCSI viene per lo più usata la comunicazione con unità hard disk e unità nastro di memorizzazione di massa, ma anche per connettere una vasta gamma di dispositivi, come scanner, lettori e scrittori di CD (CD-R e CD-RW), lettori DVD. In effetti lo standard SCSI è stato ideato per favorire l'intercambiabiltà e la compatibilità dei dispositivi (tutti, almeno in teoria). Esistono anche stampanti SCSI.


In the past, SCSI was very popular on all kinds of computers. SCSI remains popular on high-performance workstations, servers, and high-end peripherals. Desktop computers and notebooks more typically use the slower ATA/IDE interfaces for hard disks and USB (USB uses the SCSI command set for some operations) for other devices, since these interfaces, although less general-purpose, cost less to implement.

Storia[modifica | modifica wikitesto]

Shugart Technology (the company formed by Alan Shugart after leaving Shugart Associates) introduced a simpler interface called SASI (Shugart Associates System Interface) in 1979. At the same time, NCR Corporation's Peripherals division (now Engenio), had developed a more sophisticated product called BYSE, and was developing an ASIC to implement it. In late 1981, NCR and Shugart agreed to merge the best features of the two solutions, and to jointly promote the concept as an ANSI standard. After several committe meetings and after a number of other companies decided to adopt the combined standard, it received the new name "SCSI." In 1986, with SCSI already in widespread use, ANSI approved the SCSI spec (as X3.131-1986). Since then, SCSI has developed as an industry-wide standard, capable of being applied to virtually any computer system (there were even SCSI implementations for the venerable Commodore 64 home computer). The first working SCSI ASIC was donated by NCR to the Smithsonian Museum.

Standards[modifica | modifica wikitesto]

SCSI has evolved over the years. Before summarizing the evolution, a distinction should be made between the terminology used in the SCSI standard itself, as promulgated by the T10 committee of INCITS, and common parlance, as codified by the SCSI trade association, SCSITA.

As of 2003, there have only been three SCSI standards: SCSI-1, SCSI-2, and SCSI-3. All SCSI standards have been modular, defining various capabilities which manufacturers can include or not. Individual vendors and SCSITA have given names to specific combinations of capabilities. For example, no term "Ultra SCSI" is defined in the standard, but is used to refer to SCSI implementations that signal at twice the rate of "Fast SCSI." Such a signalling rate is not compliant with SCSI-2 but is one option allowed by SCSI-3. Similarly, no version of the standard requires low-voltage-differential (LVD) signalling, but products called Ultra-2 SCSI include this capability. This terminology is helpful to consumers, because "Ultra-2 SCSI" device has a better-defined set of capabilities than simply identifying it as "SCSI-3."

No version of the standard has ever specified what kind of connector should be used. The connectors used by vendors have tended to evolve over time. Although SCSI-1 devices typically used bulky Blue Ribbon ("Centronics") connectors, and SCSI-2 devices typically "Mini-D" connectors, it is not correct to refer to these as "SCSI-1" and "SCSI-2" connectors.

The mainstream implementations of SCSI (in chronological order) are as follows, using common parlance:

SCSI interface overview
Interface Bus speed (MBytes/s) Bus width (bits) Max. cable length (meters) Max. number of devices
SCSI5868
Fast SCSI1081.5-38
Wide SCSI20161.5-316
Ultra SCSI2081.5-35-8
Ultra Wide SCSI40161.5-35-8
Ultra2 SCSI408128
Ultra2 Wide SCSI80161216
Ultra3 SCSI160161216
Ultra-320 SCSI320161216
iSCSIlimited only by IP networkN/AN/A??

SCSI-1[modifica | modifica wikitesto]

The original standard that was derived from SASI and formally adopted in 1986 by ANSI. SCSI-1 features an 8-bit bus (with parity), running asynchronously at 3.5 MB/s or 5 MB/s in synchronous mode, and a maximum bus cable length of 6 meters (just under 20 feet -- compare that to the 18 inch (0.45 meter) limit of the ATA interface). A variation on the original standard included a high-voltage differential (HVD) implementation whose maximum cable length was many times that of the single-ended versions.

SCSI-2[modifica | modifica wikitesto]

This standard was introduced in 1989 and gave rise to the Fast SCSI and Wide SCSI variants. Fast SCSI doubled the maximum transfer rate to 10 MB/s and Wide SCSI doubled the bus width to 16 bits on top of that (to reach 20 MB/s). However, these improvements came at the minor cost of a reduced maximum cable length to 3 meters. SCSI-2 also specified a 32-bit version of Wide SCSI, which used 2 16-bit cables per bus; this was largely ignored by SCSI device makers, and was officially retired in SCSI-3.

SCSI-3[modifica | modifica wikitesto]

Before Adaptec and later SCSITA codified the terminology, the first parallel SCSI devices that exceeded the SCSI-2 capabilities were simply designated SCSI-3. These devices, also known as Ultra SCSI and fast-20 SCSI, were introduced in 1992. The bus speed doubled again to 20 MB/s for narrow (8 bit) systems and 40 MB/s for wide. The maximum cable length stayed at 3 meters but ultra SCSI developed an undeserved reputation for extreme sensitivity to cable length and condition (faulty cables, connectors or terminators were often to blame for instability problems).

Ultra-2[modifica | modifica wikitesto]

This standard was introduced c. 1997 and featured a low voltage differential (LVD) bus. For this reason ultra-2 is sometimes referred to as LVD SCSI. Using LVD technology, it became possible to allow a maximum bus cable length of 12 meters (almost 40 feet!), with much greater noise immunity. At the same time, the data transfer rate was increased to 80 MB/s. Ultra-2 SCSI actually had a relatively short lifespan, as it was soon superseded by ultra-3 (ultra-160) SCSI.

Ultra-3[modifica | modifica wikitesto]

Also known as Ultra-160 SCSI and introduced toward the end of 1999, this version was basically an improvement on the ultra-2 standard, in that the transfer rate was doubled once more to 160 MB/s by the use of double transition clocking. Ultra-160 SCSI offered new features like cyclic redundancy check (CRC), an error correcting process, and domain validation.

Ultra-320[modifica | modifica wikitesto]

This is the ultra-160 standard with the data transfer rate doubled to 320 MB/s. Nearly all new SCSI hard drives being manufactured at the time of this writing (October 2003) are actually ultra-320 devices.

Ultra-640[modifica | modifica wikitesto]

Ultra-640 (otherwise known as Fast-320) was promulgated as a standard (INCITS 367-2003 or SPI-5) in early 2003. Ultra-640 doubles the interface speed yet again, this time to 640 MB/s.

iSCSI[modifica | modifica wikitesto]

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.

Compatibilità[modifica | modifica wikitesto]

Note: Ultra-2, ultra-160 and ultra-320 devices may be freely mixed on the LVD bus with no compromise in performance, as the host adapter will negotiate the operating speed and bus management requirements for each device. Single-ended devices should not be attached to the LVD bus, as doing so will force all devices to run at the slower single-ended speed. Support for single-ended interfaces has been deprecated in the SPI-5 standard (which describes Ultra-640), so future devices may not be electrically backward compatible.

Caution: Modern SCA devices may be connected to older controller/drive chains by using SCA adapters. Although these adapters often have auxillary power connectors, use caution: it is possible to quickly destroy the drive by connecting external power. Always try the drive without auxillary power first.

SCSI devices are generally backward-compatible, i.e., it is possible to connect an ultra-3 SCSI hard disk to an ultra-2 SCSI controller and use it (though with reduced speed and feature set).

Each SCSI device (including the computer's host adapter) must be configured to have a unique SCSI ID on the bus. Also, the SCSI bus must be terminated with a terminator. Both active and passive terminators are in common use, with the active type much preferred (and required on LVD buses). Improper termination is a common problem with SCSI installations.

It is possible to convert a wide bus to a narrow one, with widedevices closer to the adapter. To do this properly requires a cable which terminates the wide part of the bus. This is sometimes referred to as a cable with high-9 termination. Specific commands allow the host to determine the active width of the bus. This arrangement is discouraged.

Architettura del modello SCSI[modifica | modifica wikitesto]

The original SCSI-1 standards defined the physical characteristics of the bus(es) and the electrical signalling sequences required to achieve a given action. The SCSI-2 standard expanded this and, a very important addition, specified the command set that defines the different things SCSI devices can do.

However, the SCSI command set itself is useful on its own, since it is mature and has a large body of knowledgeable users and designers. The SCSI-3 standard separated the SCSI command set from its traditional "parallel" implementation.

The logical structure of the SCSI command set is called the SCSI Architecture Model (SAM), and is included within the interface definitions for Fibre Channel, Serial Storage Architecture, InfiniBand, iSCSI, USB, IEEE 1394 and Serial Attached SCSI. Thus these are all capable of using the SCSI command set for some operations.

Mass market SCSI divides into two theories and practice. One theory is the ANSI/ INCITS t10.org theory, dominant in internal and detachable storage. A competing theory is the SFF theory, dominant in removable storage, not well represented on the web. Massively distributed BCO (binary code only) hosts dominate practice, forcing device designers to marry both theories, for example. Mass market SCSI practice includes more than SAM folk make time to write down, in an overlapping list such as SCSI over USB, PATAPI (SCSI over IDE), SATAPI (SCSI over SATA), SCSI over FireWire, and classic SCSI (SPI).

Link esterni[modifica | modifica wikitesto]

In lingua inglese[modifica | modifica wikitesto]