Small Computer System Interface: Difference between revisions
mNo edit summary |
|||
Line 1: | Line 1: | ||
The Small Computer System Interface, better known by the acronym '''SCSI''' is a set of standards that dictate the physical connection between a computer and peripheral devices and the hardware and software implementation needed to make all that work together. | The Small Computer System Interface, better known by the acronym '''SCSI''' is a set of standards that dictate the physical connection between a computer and peripheral devices and the hardware and software implementation needed to make all that work together. | ||
Even though nowhere as popular as it once was it is still pretty much a requirement for anyone doing low level programming to have at the least a basic understanding of the SCSI subsystem and the standard commands etc. Most if not all alternative data transport systems for peripheral devices copy the SCSI command structure to some degree and storage centered standards like | Even though nowhere as popular as it once was it is still pretty much a requirement for anyone doing low level programming to have at the least a basic understanding of the SCSI subsystem and the standard commands etc. Most if not all alternative data transport systems for peripheral devices copy the SCSI command structure to some degree and storage centered standards like SATA copy the command structure down to a tee, even though they are electrically very different systems. You are therefore going to find SCSI in the oddest of places when you are doing any programming that involves interfacing with storage systems of some sort. | ||
In hardware terms SCSI still has a number of advantages over alternatives such as SATA, although its main advantage is of processing independence from the host was partially lost in the mid-90's on PC systems (PC architecture issue rather than an OS or driver issue). | In hardware terms SCSI still has a number of advantages over alternatives such as SATA, although its main advantage is of processing independence from the host was partially lost in the mid-90's on PC systems (PC architecture issue rather than an OS or driver issue). | ||
Line 18: | Line 18: | ||
====USB Attached SCSI==== | ====USB Attached SCSI==== | ||
Introduced with the | Introduced with the USB version 3 specification but has also been made to work with USB 2. Basically replaces the USB Mass Storage Bulk-Only Transport (BOT) with the SCSI protocol. In general UAS is faster than the old BOT especially when dealing with SSD or other fast flash memory technology. At this point in time there are no OS/2 drivers for UAS. | ||
====Universal Flash Storage==== | ====Universal Flash Storage==== | ||
Or '''UFS''' is a new(ish) standard for flast storage on consumer devices, the hardware interface part is either M-PHY or UniPro but the software interface copies SCSI. | Or '''UFS''' is a new(ish) standard for flast storage on consumer devices, the hardware interface part is either M-PHY or UniPro but the software interface copies SCSI. | ||
==Publications== | ==Publications== | ||
;Introductory material | ;Introductory material | ||
* Friedhelm Schmidt: SCSI-Bus und IDE-Schnittstelle (4. Auflage) | *Friedhelm Schmidt: ''SCSI-Bus und IDE-Schnittstelle'' (4. Auflage) - Addison-Wesley 2001, ISBN 3827318289 | ||
: A much improved fourth edition of this book, IDE in particular improved and all in all one of the better introductory texts but only available in German. | :A much improved fourth edition of this book, IDE in particular improved and all in all one of the better introductory texts but only available in German. | ||
* Friedhelm Schmidt: [http://www.tenox.net/docs/scsi/The_SCSI_Bus_and_IDE_Interface_2nd_Ed.pdf The SCSI bus and IDE interface (2nd edition) | * Friedhelm Schmidt: ''[http://www.tenox.net/docs/scsi/The_SCSI_Bus_and_IDE_Interface_2nd_Ed.pdf The SCSI bus and IDE interface]'' (2nd edition) - Addison-Wesley 1998, ISBN 0-201-17514-2 | ||
: English translation of an older version | :English translation of an older version | ||
* | *Gary Field; Peter Ridge: ''Book of SCSI: I/O for the New Millennium'' (2nd edition) - No Starch Press 2000, ISBN 1886411107 | ||
: This is targeted towards the beginner but as such is a rather good introduction. | :This is targeted towards the beginner but as such is a rather good introduction. | ||
* Brian Sawert: The Programmer's Guide to SCSI | *Brian Sawert: ''The Programmer's Guide to SCSI'' - Addison-Wesley 1998, ISBN 0-201-18538-5 | ||
* Louis Columbus: Exploring the World of SCSI - 2000 | *Louis Columbus: ''Exploring the World of SCSI'' - Prompt 2000, ISBN 0790612100 | ||
: Targeted towards the end user rather than the programmer. | :Targeted towards the end user rather than the programmer. | ||
* Marc D. Brooks | *Marc D. Brooks; Duane J. Stein; Barry B. Shiloff: ''Making SCSI Work'' Paralan Corporation 1999, ISBN 096574650X | ||
* NCR Corp: SCSI: Understanding the Small Computer System Interface - | *NCR Corp: ''SCSI: Understanding the Small Computer System Interface'' - Prentice Hall 1990, ISBN 0137968558 | ||
: Well written and clear introduction, but very outdated. Short, almost a booklet rather than a book. | :Well written and clear introduction, but very outdated. Short, almost a booklet rather than a book. | ||
* David Deming: The SCSI | *David Deming: ''The SCSI Tutor'' - ENDL 1995, ISBN 1879936089 | ||
* John Lohmeyer: [http://www.bswd.com/Lohmeyer_SCSI-Standards.pdf SCSI Standards Architecture] | *John Lohmeyer: ''[http://www.bswd.com/Lohmeyer_SCSI-Standards.pdf SCSI Standards Architecture]'' | ||
* Nabeel ur Rehman, Asad Asif and Junaid Iqbal - [http://www.asadasif.com/es/files/scsi-report.pdf SCSI Interface] | :A short article that explains what SCSI standards are out there, what they define and how they came to be. | ||
*Nabeel ur Rehman, Asad Asif and Junaid Iqbal - [http://www.asadasif.com/es/files/scsi-report.pdf SCSI Interface] | |||
:Quite good introduction to SCSI and more modern than most of the above. | |||
;Reference works | ;Reference works | ||
Line 86: | Line 82: | ||
* [https://ufsa.org/wp-content/uploads/2011/06/1306_UFSA_White_Paper.pdf Introduction to the Universal Flash Storage Assocation] - UFS Assocation white paper - has background info on UFS. | * [https://ufsa.org/wp-content/uploads/2011/06/1306_UFSA_White_Paper.pdf Introduction to the Universal Flash Storage Assocation] - UFS Assocation white paper - has background info on UFS. | ||
* [https://www.jedec.org/standards-documents/focus/flash/universal-flash-storage-ufs UFS Standards] - From JDEC | * [https://www.jedec.org/standards-documents/focus/flash/universal-flash-storage-ufs UFS Standards] - From JDEC | ||
==Links== | |||
* [http://www.t10.org The T10 Committee] - Oversees the SCSI standard. | |||
* [http://www.scsita.org SCSI Trade Accosiation] - Promotes the SCSI standards. | |||
* [ftp://ftp.dyu.edu.tw/pub/Hardware/vendor/ADAPTEC/literature/ A mirror of an old Adaptec ftp site with lots of info] - Since deleted from the Adaptec site proper. | |||
* [ftp://ftp.monash.edu/pub/SCSI/ A cache of Draft SCSI 1 & 2 standards] - From Monash.edu | |||
[[Category:Networking]][[Category:Storage]] | [[Category:Networking]][[Category:Storage]] |
Revision as of 18:22, 18 January 2017
The Small Computer System Interface, better known by the acronym SCSI is a set of standards that dictate the physical connection between a computer and peripheral devices and the hardware and software implementation needed to make all that work together.
Even though nowhere as popular as it once was it is still pretty much a requirement for anyone doing low level programming to have at the least a basic understanding of the SCSI subsystem and the standard commands etc. Most if not all alternative data transport systems for peripheral devices copy the SCSI command structure to some degree and storage centered standards like SATA copy the command structure down to a tee, even though they are electrically very different systems. You are therefore going to find SCSI in the oddest of places when you are doing any programming that involves interfacing with storage systems of some sort.
In hardware terms SCSI still has a number of advantages over alternatives such as SATA, although its main advantage is of processing independence from the host was partially lost in the mid-90's on PC systems (PC architecture issue rather than an OS or driver issue).
Advanced SCSI Programming Interface
Better known as just ASPI, it is a programming interface introduced by Adaptec in the 1990's that simplifies the programming for end user applications that need to access a SCSI device or devices with compatible command interface such as ATAPI, most but not all SCSI drivers provide an ASPI interface. Most operating systems provide an ASPI interface for their ATAPI (IDE/SATA) implementation or have them as optional installs although with the decline in use of CD-ROM technology the use of ASPI has gone down as well.
SCSI over Ethernet
A networking protocol that allows computers to access storage devices and other peripherals to be accessed over Ethernet as if they where local SCSI devices, via encapsulation.
Fibre channel
High speed networking standard that is in practice mostly used to connect high speed storage devices to computer servers using a SCSI based protocol very similar to SCSI over Ethernet.
InfiniBand
A very high speed interconnect standard primarily used in high speed networking hardware, it allows for a form of iSCSI for peripheral or storage devices best described as "SCSI over InfiniBand".
USB Attached SCSI
Introduced with the USB version 3 specification but has also been made to work with USB 2. Basically replaces the USB Mass Storage Bulk-Only Transport (BOT) with the SCSI protocol. In general UAS is faster than the old BOT especially when dealing with SSD or other fast flash memory technology. At this point in time there are no OS/2 drivers for UAS.
Universal Flash Storage
Or UFS is a new(ish) standard for flast storage on consumer devices, the hardware interface part is either M-PHY or UniPro but the software interface copies SCSI.
Publications
- Introductory material
- Friedhelm Schmidt: SCSI-Bus und IDE-Schnittstelle (4. Auflage) - Addison-Wesley 2001, ISBN 3827318289
- A much improved fourth edition of this book, IDE in particular improved and all in all one of the better introductory texts but only available in German.
- Friedhelm Schmidt: The SCSI bus and IDE interface (2nd edition) - Addison-Wesley 1998, ISBN 0-201-17514-2
- English translation of an older version
- Gary Field; Peter Ridge: Book of SCSI: I/O for the New Millennium (2nd edition) - No Starch Press 2000, ISBN 1886411107
- This is targeted towards the beginner but as such is a rather good introduction.
- Brian Sawert: The Programmer's Guide to SCSI - Addison-Wesley 1998, ISBN 0-201-18538-5
- Louis Columbus: Exploring the World of SCSI - Prompt 2000, ISBN 0790612100
- Targeted towards the end user rather than the programmer.
- Marc D. Brooks; Duane J. Stein; Barry B. Shiloff: Making SCSI Work Paralan Corporation 1999, ISBN 096574650X
- NCR Corp: SCSI: Understanding the Small Computer System Interface - Prentice Hall 1990, ISBN 0137968558
- Well written and clear introduction, but very outdated. Short, almost a booklet rather than a book.
- David Deming: The SCSI Tutor - ENDL 1995, ISBN 1879936089
- John Lohmeyer: SCSI Standards Architecture
- A short article that explains what SCSI standards are out there, what they define and how they came to be.
- Nabeel ur Rehman, Asad Asif and Junaid Iqbal - SCSI Interface
- Quite good introduction to SCSI and more modern than most of the above.
- Reference works
- Seagate Corp. SCSI Commands Reference Manual - Includes Fibre Channel and SAS
- Jeffrey D. Stai: The SCSI Bench Reference (3rd edition) - 1997 - In print - ENDL Publications - ISBN 1879936305
- Aimed squarely at the technician rather than the software engineer, but as such very good although outdated.
- Jeffrey D. Stai: SCSI Encyclopedia Phases & Protocols A-M - 1991 - Out of print - ENDL Publications - ISBN 1879936119
- Jeffrey D. Stai: SCSI Encyclopedia Phases & Protocols N-Z - 1991 - Out of print - ENDL Publications - ISBN 1879936127
- Jeffrey D. Stai: SCSI Encyclopedia Phases & Protocols A-M & N-Z (Set of two) - 1991 - Out of print - ENDL Publications - ISBN 1879936100
- Mike Jackson: SAS Storage Architecture: Serial Attached SCSI – 2006 - In print - MindShare Press - ISBN 0977087808
- Example chapters and index can be downloaded from here in PDF format.
- Fujitsu Corp.: Fast Track To SCSI - Product Guide - 1989
- Actually a technical sales document if a bit long at 377 pages, and outdated but does contain loads of relevant SCSI information to a point where some implementations point to this publication rather than the published standard. There were later editions released by the company but they are not to be found on the net.
- L. Brett Glass: The SCSI Book; Complete Reference to Use, Programming and Applications - 1991 - Out of print - Brady Computer Books - ISBN 0137921365
- Very good in its day and still has some value, but outdated.
- Standards
- SCSI Primary Commands - 2 - Version 20
- SCSI Block Commands - 2 - Draft version
- SCSI/ATA Translation - 2 - Draft version
- Hardware reference texts
- UNDERSTANDING THE SINGLE-ENDED SCSI BUS - Microsemi application note
- Fibre Channel
- Ralph O. Weber and Jeffrey D. Stai: FCBR-2: Fibre Channel Bench Reference, Second Edition - 2005 - In print - ENDL Publications - ISBN 1879936186
- ASPI
- A mirror of an old Adaptec ftp site with lots of ASPI info - Since deleted from the Adaptec site proper.
- Infiniband
- William T. Futral: InfiniBand Architecture Development and Deployment - 2001 - In print - Intel Press - ISBN 0970284667
- Mellanox Technologies: Introduction to InfiniBand - PDF file
- USB Attached SCSI
- Curtis E. Stevens: USB Attached SCSI Protocol - Presentation that gives an overview of the UASP.
- Universal Serial Bus Mass Storage Class Specification Overview - Gives you an overview of the standardincluding UAS.
- UFS
- Introduction to the Universal Flash Storage Assocation - UFS Assocation white paper - has background info on UFS.
- UFS Standards - From JDEC
Links
- The T10 Committee - Oversees the SCSI standard.
- SCSI Trade Accosiation - Promotes the SCSI standards.
- A mirror of an old Adaptec ftp site with lots of info - Since deleted from the Adaptec site proper.
- A cache of Draft SCSI 1 & 2 standards - From Monash.edu