# SCSI

**SCSI**（小型计算机系统接口，通常读作“scuzzy”）是一套标准命令和接口，用于将计算机连接到硬盘驱动器、磁带驱动器、CD/DVD 驱动器和扫描仪等外设。它最初是用于高性能工作站、服务器和存储设备的并行总线，其命令集现在作为通过 USB、SAS、[光纤通道](https://www.edgepedia.org/zh/fibre-channel)、火线（FireWire）和 ATAPI 传输连接的设备的存储协议，并且可通过 SCSI/ATA 转换层用于 SATA 设备。<sup>[1](https://www.kernel.org/doc/html/v4.13/driver-api/scsi.html)</sup><sup> • </sup><sup>[2](https://blog.ansi.org/ansi/incits-131-1994-2013-computer-systems-interface/)</sup><sup> • </sup><sup>[9](https://www.t10.org/drafts.htm)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 由 SASI（舒加特联合系统接口）发展而来；SASI 于 1979 年由拉里·鲍彻（Larry Boucher）在舒加特联合公司（Shugart Associates）领导的团队创建<sup>[3](https://www.computerhistory.org/storageengine/minicomputers-stimulate-floppy-disk-sales/)</sup> |
| 首个标准 | ANSI（美国国家标准学会）X3.131-1986，由 X3T9 技术委员会于 1986 年发布，通常称为 SCSI-1<sup>[2](https://blog.ansi.org/ansi/incits-131-1994-2013-computer-systems-interface/)</sup> |
| SCSI-2 | 于 1990 年 8 月发布为 X3.T9.2/86-109，1994 年进一步修订；现为 ANSI INCITS 131-1994<sup>[2](https://blog.ansi.org/ansi/incits-131-1994-2013-computer-systems-interface/)</sup> |
| SCSI-2 数据速率 | 8 位总线上为 2.5 至 10 MB/秒；16 位总线上为 5.0 至 20 MB/秒<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup> |
| SCSI-3 结构 | 分层标准族：SPI（物理层）、SIP（协议层）、SAM（体系结构）、SPC（主命令）、SBC（块命令）<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup> |
| 现代角色 | SCSI 命令用于 USB、SAS、光纤通道、火线（FireWire）和 ATAPI 传输等设备上的存储，不过原生 SATA 设备使用 ATA 命令，除非通过软件层转换为 SCSI。<sup>[1](https://www.kernel.org/doc/html/v4.13/driver-api/scsi.html)</sup><sup> • </sup><sup>[9](https://www.t10.org/drafts.htm)</sup> |
| 串行后继 | 串行连接 SCSI（SAS）通过串行点对点接口承载 SCSI 命令集，扩展器在一个域中最多支持 16,384 台设备<sup>[5](https://www.snia.org/education/what-is-sas)</sup><sup> • </sup><sup>[6](https://www.seagate.com/support/kb/serial-attached-scsi-frequently-asked-questions-210751en/)</sup> |

## 历史

该接口始于[舒加特联合公司](https://www.edgepedia.org/zh/shugart-associates)（Shugart Associates）。1979 年，由当时担任该公司设计服务总监的[拉里·鲍彻](https://www.edgepedia.org/zh/larry-boucher)（Larry Boucher）领导的团队开发了舒加特联合系统接口（SASI），用于将磁盘控制器连接到驱动器；SASI 后来演变为 SCSI。<sup>[3](https://www.computerhistory.org/storageengine/minicomputers-stimulate-floppy-disk-sales/)</sup><sup> • </sup><sup>[7](https://computerhistory.org/profile/larry-boucher/)</sup> 鲍彻后来创立了 Adaptec，一家 SCSI 主机适配器制造商。<sup>[7](https://computerhistory.org/profile/larry-boucher/)</sup>

[美国国家标准学会](https://www.edgepedia.org/zh/american-national-standards-institute)（ANSI）的 X3T9 技术委员会于 1986 年发布了首个标准 ANSI X3.131-1986；它通常被称为 SCSI-1。<sup>[2](https://blog.ansi.org/ansi/incits-131-1994-2013-computer-systems-interface/)</sup> SCSI-2 随后于 1990 年 8 月以 X3.T9.2/86-109 发布，1994 年进行了修订，并随后采用了许多接口。<sup>[2](https://blog.ansi.org/ansi/incits-131-1994-2013-computer-systems-interface/)</sup> 1994 年的修订版原为 ANSI X3.131-1994（R1999），定义了 SCSI-1 接口（ISO/IEC 9316）的扩展，并规定了符合性设备实现互操作所需的机械、电气和功能特性。<sup>[2](https://blog.ansi.org/ansi/incits-131-1994-2013-computer-systems-interface/)</sup> 当认可标准委员会 X3 成为 NCITS，随后又成为 INCITS 时，ANSI X3.131 被重新指定为 INCITS 131。<sup>[2](https://blog.ansi.org/ansi/incits-131-1994-2013-computer-systems-interface/)</sup>

## 分层标准体系结构

SCSI-2 是一份单一的大型文档，涵盖全部主题。SCSI-3 将该文档拆分为一系列较小的标准，每个标准涵盖接口定义的一层：物理层（连接器、引脚分配、电气规范）、协议层、描述命令请求如何组织、排队和响应的体系结构层、所有 SCSI 设备都必须支持的主命令，以及针对 [CD-ROM](https://www.edgepedia.org/zh/cd-rom) 驱动器等类别的设备专用命令集。<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup> 并行接口磁盘驱动器的实现使用 SPI 作为物理层、SIP 作为协议层、SAM 作为体系结构、SPC 作为主命令、SBC 作为磁盘驱动器命令；光纤通道驱动器替换物理层和协议层文档，同时复用其余三项。<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup>

这种分层允许在新兴技术出现时替换结构中的部分内容。SCSI-2 和 SCSI-3 这些术语本身并不暗示任何特定性能；它们指产品所符合的文档代次。<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup> SCSI-3 体系结构模型（SAM）后来修订为 SCSI 体系结构模型 - 2（SAM-2），后续标准从名称中去掉了“-3”，因为这一写法很累赘。SCSI 家族的各个组成部分仍在继续演进，但尚未设想任何 SCSI-4 项目。<sup>[8](https://www.t10.org/scsi-3.htm)</sup> 体系结构模型已先后经过 SAM-4（INCITS 447-2008）、SAM-5（ANSI INCITS 515-2017）和 SAM-6（ANSI INCITS 546-2022）。<sup>[9](https://t10.org/drafts.htm)</sup>

## 发起端、目标端与逻辑单元

SCSI 通信定义在**发起端**（initiator，通常是计算机）与**目标端**（target，通常是外设）之间。<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup> 每个目标端包含一个或多个逻辑单元，即实现设备模型、可从外部寻址的实体；逻辑单元号（LUN）是逻辑单元的编码 64 位标识符。<sup>[10](https://www.iso.org/obp/ui?_escaped_fragment_=iso%3Astd%3Aiso-iec%3A14776%3A-453%3Aed-1%3Av1%3Aen)</sup> 命令以称为命令描述符块（CDB）的结构发送，这些结构要么是固定大小，不超过 16 字节，要么是可变大小，范围为 12 至 260 字节。<sup>[10](https://www.iso.org/obp/ui?_escaped_fragment_=iso%3Astd%3Aiso-iec%3A14776%3A-453%3Aed-1%3Av1%3Aen)</sup> 发起端通过发出 INQUIRY 命令并检查返回的外设限定符和设备类型，来确定目标端是否实现某个逻辑单元。<sup>[11](https://www.staff.uni-mainz.de/tacke/scsi/SCSI2-08.html)</sup>

## 并行接口

最初的 SCSI 既是一种通信协议，也是一种并行物理接口。<sup>[2](https://blog.ansi.org/ansi/incits-131-1994-2013-computer-systems-interface/)</sup> SCSI-1 中定义的窄总线在 50 针并行接口上为 1 字节宽，由 8 条带奇偶校验的数据线、控制线以及匹配的接地线组成；宽总线在 SCSI-3 SPI 文档定义的 68 针接口上为 2 字节宽。<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup> 数据可以以异步（无时钟）或同步（有时钟）模式传输，而所有消息和命令始终以异步方式传输。<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup>

传输速率以每秒百万次传输（MegaTransfers/秒）描述，这是一种独立于总线宽度的信号速率度量。SCSI FAST 定义了 10 MT/秒，在窄总线上提供 10 MB/秒，在宽总线上提供 20 MB/秒；FAST-20（Ultra SCSI）达到 20 MT/秒，FAST-40（Ultra2）达到 40 MT/秒，FAST-80 达到 80 MT/秒，最后一种在宽总线上达到 160 MB/秒。<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup> 同步速率由设备之间协商确定，而不是固定值。<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup>

并行总线需要在其两个物理端进行终端匹配，SCSI-3 并行接口规范将总线中段设备的集总电容限制为每条信号线 25 pF。<sup>[12](https://www.analog.com/en/resources/design-notes/ds2107a-power-down-capacitance.html)</sup> [差分信号](https://www.edgepedia.org/zh/differential-signaling)变体（HVD 以及后来的 LVD）用于降低较长总线上的噪声。<sup>[4](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)</sup>

## 作为命令集的 SCSI

尽管并行接口在早期文档中占主导地位，SCSI 命令几乎可在任何总线类型上工作；对于通过 USB、SAS、光纤通道、火线或 ATAPI 连接的存储设备，它们作为标准协议使用；而 SATA 设备原生使用 ATA 命令，但可通过 SCSI/ATA 转换层使用 SCSI 命令；[InfiniBand](https://www.edgepedia.org/zh/infiniband) 和 TCP/IP（iSCSI）也承载 SCSI 数据包。<sup>[1](https://www.kernel.org/doc/html/v4.13/driver-api/scsi.html)</sup><sup> • </sup><sup>[9](https://www.t10.org/drafts.htm)</sup>

**串行连接 SCSI。** SAS 是并行 SCSI 的演进式发展，通过串行点对点接口承载 SCSI 命令集，部署于企业和数据中心环境。<sup>[5](https://www.snia.org/education/what-is-sas)</sup><sup> • </sup><sup>[6](https://www.seagate.com/support/kb/serial-attached-scsi-frequently-asked-questions-210751en/)</sup> SAS 在设计上利用现有 SCSI 命令集，保护存储管理软件方面的投资，SAS 背板和主机总线适配器与共用背板上的串行 ATA 驱动器完全兼容。<sup>[6](https://www.seagate.com/support/kb/serial-attached-scsi-frequently-asked-questions-210751en/)</sup> 其协议层包括用于主机到设备通信的串行 SCSI 协议（SSP）、用于管理扩展器的串行管理协议（SMP），以及用于集成 SATA 设备的 SATA 隧道协议（STP）。<sup>[13](https://www.seagate.com/files/www-content/product-content/ssd-fam/nvme-ssd/nytro-3000-sas-ssd/_masters/sas-vs-sata-enterprise-vs-consumer-tp677-1-1503.pdf)</sup> 扩展器充当交换机：每个扩展器可从单个主机适配器或机箱实现最多 128 个点对点连接，一个域中总共可聚合 16,384 台 SAS 设备。<sup>[6](https://www.seagate.com/support/kb/serial-attached-scsi-frequently-asked-questions-210751en/)</sup>

**iSCSI。** 互联网小型计算机系统接口协议将 SCSI 命令、事件和任务管理模型映射到 TCP 之上，使 SCSI 命令和数据能够以 iSCSI 协议数据单元的形式穿越 IP 网络；合并后的协议由 RFC 7143（2014 年 4 月）规定，该文档废止了 RFC 3720 及相关文档。<sup>[14](https://www.rfc-editor.org/info/rfc7143/)</sup>

## 操作系统中的 SCSI

[Linux 内核](https://www.edgepedia.org/zh/linux-kernel)将 SCSI 支持实现为一个三层子系统。每一项操作（例如从磁盘读取一个扇区）都在每一层使用一个驱动程序：上层驱动、下层驱动和 SCSI 中间层。<sup>[1](https://www.kernel.org/doc/html/v4.13/driver-api/scsi.html)</sup> 上层通过块设备节点、字符设备节点和 ioctl() 提供用户-内核接口；下层包含针对特定硬件的驱动程序；中间层类似于 IPv4 协议栈之类的网络路由层，在上层的 /dev 节点与下层设备之间路由基于数据包的协议，管理命令队列、错误处理和电源管理。<sup>[1](https://www.kernel.org/doc/html/v4.13/driver-api/scsi.html)</sup> 上层驱动包括用于磁盘的 sd、用于 CD-ROM 的 sr、用于磁带的 st、用于通用访问的 sg，以及用于介质更换器的 ch。<sup>[1](https://www.kernel.org/doc/html/v4.13/driver-api/scsi.html)</sup> 该子系统的核心——中间层——可以构建进内核，也可以作为模块 scsi_mod.o 加载；它必须是第一个加载、最后一个卸载的 SCSI 模块。<sup>[15](https://cdn.kernel.org/doc/html/latest/scsi/scsi.html)</sup>

后来的内核工作解决了固态存储瓶颈：将 Linux SCSI 子系统改为使用多队列块层的 scsi-mq 重构已合并进内核，面向 Linux 4.0 的 dm-multipath 支持正在推进，测量表明即使使用基于磁盘的缓存存储阵列，多队列块层的效率也有所提高。<sup>[16](https://arxiv.org/abs/1504.07481)</sup>

## 遗产与现状

并行 SCSI 在二十多年里一直是企业存储的基础，直到串行传输接管了它的物理角色。<sup>[6](https://www.seagate.com/support/kb/serial-attached-scsi-frequently-asked-questions-210751en/)</sup> 命令体系结构比总线更长寿：SCSI 命令集仍在 SAS、光纤通道、iSCSI、USB 大容量存储和 ATAPI 设备中使用，标准家族也通过 INCITS T10 项目继续演进，例如以 ANSI INCITS 546-2022 发布的 SAM-6。<sup>[1](https://www.kernel.org/doc/html/v4.13/driver-api/scsi.html)</sup><sup> • </sup><sup>[9](https://t10.org/drafts.htm)</sup>

## References

1. [SCSI Interfaces Guide, The Linux Kernel documentation](https://www.kernel.org/doc/html/v4.13/driver-api/scsi.html)
2. [INCITS 131-1994[S2013]: Small Computer Systems Interface, The ANSI Blog](https://blog.ansi.org/ansi/incits-131-1994-2013-computer-systems-interface/)
3. [1976: Minicomputers stimulate floppy disk sales, Computer History Museum Storage Engine](https://www.computerhistory.org/storageengine/minicomputers-stimulate-floppy-disk-sales/)
4. [SCSI Revision Levels, Seagate Support](https://www.seagate.com/support/kb/scsi-revision-levels-196483en/)
5. [What Is Serial Attached SCSI (SAS)?, SNIA](https://www.snia.org/education/what-is-sas)
6. [Serial Attached SCSI - Frequently Asked Questions, Seagate Support](https://www.seagate.com/support/kb/serial-attached-scsi-frequently-asked-questions-210751en/)
7. [Larry Boucher, Computer History Museum](https://computerhistory.org/profile/larry-boucher/)
8. [SCSI Architecture, T10](https://www.t10.org/scsi-3.htm)
9. [T10 Working Drafts](https://t10.org/drafts.htm)
10. [ISO/IEC 14776-453:2009, SCSI Primary Commands-3 (SPC-3), ISO Online Browsing Platform](https://www.iso.org/obp/ui?_escaped_fragment_=iso%3Astd%3Aiso-iec%3A14776%3A-453%3Aed-1%3Av1%3Aen)
11. [SCSI-2 Spec, All device types (section 8.1.1)](https://www.staff.uni-mainz.de/tacke/scsi/SCSI2-08.html)
12. [DS2107A Power Down Capacitance, Analog Devices](https://www.analog.com/en/resources/design-notes/ds2107a-power-down-capacitance.html)
13. [SAS vs. SATA Flash Devices, Seagate technology paper](https://www.seagate.com/files/www-content/product-content/ssd-fam/nvme-ssd/nytro-3000-sas-ssd/_masters/sas-vs-sata-enterprise-vs-consumer-tp677-1-1503.pdf)
14. [RFC 7143: Internet Small Computer System Interface (iSCSI) Protocol (Consolidated), RFC Editor](https://www.rfc-editor.org/info/rfc7143/)
15. [SCSI subsystem documentation, The Linux Kernel documentation](https://cdn.kernel.org/doc/html/latest/scsi/scsi.html)
16. [Improving Block-level Efficiency with scsi-mq, arXiv](https://arxiv.org/abs/1504.07481)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Storage devices & memory › Storage devices overview

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/scsi

English original: https://www.edgepedia.org/scsi
