Serial Attached SCSI explained

SAS
Fullname:Serial Attached SCSI
Width:1
Numdev:65,535
Style:s
Hotplug:Yes

In computing, Serial Attached SCSI (SAS) is a point-to-point serial protocol that moves data to and from computer-storage devices such as hard disk drives and tape drives. SAS replaces the older Parallel SCSI (Parallel Small Computer System Interface, usually pronounced "scuzzy" [1] [2]) bus technology that first appeared in the mid-1980s. SAS, like its predecessor, uses the standard SCSI command set. SAS offers optional compatibility with Serial ATA (SATA), versions 2 and later. This allows the connection of SATA drives to most SAS backplanes or controllers. The reverse, connecting SAS drives to SATA backplanes, is not possible.[3]

The T10 technical committee of the International Committee for Information Technology Standards (INCITS) develops and maintains the SAS protocol; the SCSI Trade Association (SCSITA) promotes the technology.

Introduction

A typical Serial Attached SCSI system consists of the following basic components:

  1. An initiator: a device that originates device-service and task-management requests for processing by a target device and receives responses for the same requests from other target devices. Initiators may be provided as an on-board component on the motherboard (as is the case with many server-oriented motherboards) or as an add-on host bus adapter.
  2. A target: a device containing logical units and target ports that receives device service and task management requests for processing and sends responses for the same requests to initiator devices. A target device could be a hard disk drive or a disk array system.
  3. A service delivery subsystem: the part of an I/O system that transmits information between an initiator and a target. Typically cables connecting an initiator and target with or without expanders and backplanes constitute a service delivery subsystem.
  4. Expanders: devices that form part of a service delivery subsystem and facilitate communication between SAS devices. Expanders facilitate the connection of multiple SAS End devices to a single initiator port.[4]

History

Identification and addressing

A SAS Domain is the SAS version of a SCSI domain - it consists of a set of SAS devices that communicate with one another by means of a service delivery subsystem. Each SAS port in a SAS domain has a SCSI port identifier that identifies the port uniquely within the SAS domain, the World Wide Name. It is assigned by the device manufacturer, like an Ethernet device's MAC address, and is typically worldwide unique as well. SAS devices use these port identifiers to address communications to each other.

In addition, every SAS device has a SCSI device name, which identifies the SAS device uniquely in the world. One does not often see these device names because the port identifiers tend to identify the device sufficiently.

For comparison, in parallel SCSI, the SCSI ID is the port identifier and device name. In Fibre Channel, the port identifier is a WWPN and the device name is a WWNN.

In SAS, both SCSI port identifiers and SCSI device names take the form of a SAS address, which is a 64 bit value, normally in the NAA IEEE Registered format. People sometimes refer to a SCSI port identifier as the SAS address of a device, out of confusion. People sometimes call a SAS address a World Wide Name or WWN, because it is essentially the same thing as a WWN in Fibre Channel. For a SAS expander device, the SCSI port identifier and SCSI device name are the same SAS address.

Comparison with parallel SCSI

Comparison with SATA

There is little physical difference between SAS and SATA.[10]

Characteristics

Technical details

The Serial Attached SCSI standard defines several layers (in order from highest to lowest): application, transport, port, link, PHY and physical. Serial Attached SCSI comprises three transport protocols:

For the Link and PHY layers, SAS defines its own unique protocol.

At the physical layer, the SAS standard defines connectors and voltage levels. The physical characteristics of the SAS wiring and signaling are compatible with and have loosely tracked that of SATA up to the 6 Gbit/s rate, although SAS defines more rigorous physical signaling specifications as well as a wider allowable differential voltage swing intended to allow longer cabling. While SAS-1.0 and SAS-1.1 adopted the physical signaling characteristics of SATA at the 3 Gbit/s rate with 8b/10b encoding, SAS-2.0 development of a 6 Gbit/s physical rate led the development of an equivalent SATA speed. In 2013, 12 Gbit/s followed in the SAS-3 specification.[12] SAS-4 is slated to introduce 22.5 Gbit/s signaling with a more efficient 128b/150b encoding scheme to realize a usable data rate of 2,400 MB/s while retaining compatibility with 6 and 12 Gbit/s.[13]

Additionally, SCSI Express takes advantage of the PCI Express infrastructure to directly connect SCSI devices over a more universal interface.[14]

Architecture

SAS architecture consists of six layers:

Topology

An initiator may connect directly to a target via one or more PHYs (such a connection is called a port whether it uses one or more PHYs, although the term wide port is sometimes used for a multi-PHY connection).

SAS expanders

The components known as Serial Attached SCSI Expanders (SAS Expanders) facilitate communication between large numbers of SAS devices. Expanders contain two or more external expander-ports. Each expander device contains at least one SAS Management Protocol target port for management and may contain SAS devices itself. For example, an expander may include a Serial SCSI Protocol target port for access to a peripheral device. An expander is not necessary to interface a SAS initiator and target but allows a single initiator to communicate with more SAS/SATA targets. A useful analogy: one can regard an expander as akin to a network switch in a network, which connects multiple systems using a single switch port.

SAS 1 defined two types of expander; however, the SAS-2.0 standard has dropped the distinction between the two, as it created unnecessary topological limitations with no realized benefit:

Direct routing allows a device to identify devices directly connected to it. Table routing identifies devices connected to the expanders connected to a device's own PHY. Subtractive routing is used when you are not able to find the devices in the sub-branch you belong to. This passes the request to a different branch altogether.

Expanders exist to allow more complex interconnect topologies. Expanders assist in link-switching (as opposed to packet-switching) end-devices (initiators or targets). They may locate an end-device either directly (when the end-device is connected to it), via a routing table (a mapping of end-device IDs and the expander the link should be switched to downstream to route towards that ID), or when those methods fail, via subtractive routing: the link is routed to a single expander connected to a subtractive routing port. If there is no expander connected to a subtractive port, the end-device cannot be reached.

Expanders with no PHYs configured as subtractive act as fanout expanders and can connect to any number of other expanders. Expanders with subtractive PHYs may only connect to two other expanders at a maximum, and in that case they must connect to one expander via a subtractive port and the other via a non-subtractive port.

SAS-1.1 topologies built with expanders generally contain one root node in a SAS domain with the one exception case being topologies that contain two expanders connected via a subtractive-to-subtractive port. If it exists, the root node is the expander, which is not connected to another expander via a subtractive port. Therefore, if a fanout expander exists in the configuration, it must be the domain's root node. The root node contains routes for all end devices connected to the domain. Note that with the advent in SAS-2.0 of table-to-table routing and new rules for end-to-end zoning, more complex topologies built upon SAS-2.0 rules do not contain a single root node.

Connectors

SAS connectors are much smaller than traditional parallel SCSI connectors. Commonly, SAS-3 provides for point data transfer speeds up to 12 Gbit/s.[16] Currently, SAS-4 is available with up to 24 Gbps; with SAS-5 under development, according to T10.

The physical SAS connector comes in several different variants:[17]

Code-
name[18]
other namesexternal/
internal
PinsNo of devices
/ lanes
CommentImage
SFF-8086Internal mini-SAS,
internal mSAS
internal264This is a less common implementation of internal mSAS than SFF-8087's 36-circuit version.
The fewer positions is enabled by it not supporting sidebands.
SFF-8087[19] [20] Internal mini-SAS,
internal mSAS,
internal iSAS,
internal iPass
internal364Unshielded 36-circuit implementation of SFF-8086.
Molex iPass reduced width internal 4× connector; 12 Gbit/s capability.
SFF-8088[21] [22] External mini-SAS,
external mSAS,
external iSAS,
external iPass
external264Shielded 26-circuit implementation of SFF-8086.
Molex iPass reduced width external 4× connector; 12 Gbit/s capability.
SFF-8431[23] [24] SFP+external201
SFF-8436[25] [26] QSFP+,
Quad SFP+
external384Commonly used with many NetApp storage systems.
Often seen with SFF-8088 or SFF-8644 on the other end; 6 Gbit/s capability.
SFF-8470[27] [28] InfiniBand CX4
connector,
Molex LaneLink
external344High-density external connector (also used as an internal connector).
SFF-8482[29] [30] internal292 lanesThis form factor is designed for compatibility with SATA but can drive a SAS device.
A SAS controller can control SATA drives, but a SATA controller cannot control SAS drives. Lower pins (S1-S7, P1-P11) defined as in SATA. Upper pins S8-S14 provide additional lane of data.

The most common connection[31] for SAS drives connecting to backplanes in servers, i.e. PowerEdge[32] and ProLiant[33]

SFF-8484[34] [35] internal32 or
19
4 or 2High-density internal connector, 2 and 4 lane versions are defined by the SFF standard.
SFF-8485[36] Defines SGPIO (extension of SFF 8484),
a serial link protocol used usually for LED indicators.
SFF-8613[37]
(SFF-8643[38] [39])
Mini-SAS HD,
U.2
internal364 or 8 with
dual connector (single connector pictured)
Mini-SAS HD (introduced with SAS 12 Gbit/s)

Also known as a U.2 port[40] along with SFF-8639.

SFF-8614[41]
(SFF-8644[42] [43])
external Mini-SAS HDexternal4 or 8 with
dual connector (single connector pictured)
Mini-SAS HD (introduced with SAS 12 Gbit/s)
Sideband
connector
internalOften seen with 1× SFF-8643 or 1× SFF-8087 on the other end –
internal fan-out for 4× SATA drives.
Connects the controller to drives without backplane or
to the (SATA) backplane and optionally, to the status LEDs.
SFF-8680[44] [45] internal
SFF-8639[46] [47] U.2[48] internal68
SFF-8638[49]
SFF-8640[50]
SFF-8681[51]
SFF-8654[52] SlimSAS[53] internal4X: 388X: 744X and 8X SAS-4 plug and receptacle

Nearline SAS

Nearline SAS (abbreviated to NL-SAS, and sometimes called midline SAS) drives have a SAS interface, but head, media, and rotational speed of traditional enterprise-class SATA drives, so they cost less than other SAS drives. When compared to SATA, NL-SAS drives have the following benefits:[54]

See also

External links

Notes and References

  1. Book: Robert Bruce . Thompson . Barbara Fritchman . Thompson. PC Hardware in a Nutshell: A Desktop Quick Reference. 24 July 2003. "O'Reilly Media, Inc.". 978-0-596-55234-3. 422.
  2. Book: NCR Corporation. Scsi: understanding the small computer system interface. registration. 1990. Prentice Hall. University of Virginia. English. 5. 9780137968558 .
  3. Web site: SAS and SATA: Unparalleled Compatibility . 2024-05-20.
  4. Web site: SAS architecture. ibm. January 14, 2016.
  5. Web site: Serial Attached SCSI Master Roadmap. SCSI Trade Association. 2015-10-14 . 2016-02-26.
  6. Web site: Serial Attached SCSI - 4 (SAS-4) draft . T10 . 2016-05-11 . 2016-05-15.
  7. Web site: Serial Attached SCSI - 5 (SAS-5) . t10.org . T10/BSR INCITS 561 . 2024-01-17 . 2019-02-22.
  8. https://www.techtarget.com/searchstorage/definition/serial-attached-SCSI#:~:text=Serial%2DAttached%20SCSI%20standards%20are,%2D4%2C%20supports%2024%20 Gbps. DEFINITION : Serial-Attached SCSI (SAS)
  9. Web site: Redundancy in enterprise storage networks using dual-domain SAS configurations . https://web.archive.org/web/20160110234427/http://h20565.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c01451157 . May 2008 . 2016-01-10 . 2016-01-10 . Hewlett-Packard Development Company . PDF.
  10. Web site: SATA vs SAS Hard Drives on Dedicated Servers . 2013-08-05 . Steadfast.net . Steadfast . https://web.archive.org/web/20130629051809/http://old.steadfast.net/services/hdd.dedicated.hosting.php . 29 June 2013 . dead.
  11. Web site: Patrick . Schmid . Achim . Roos . SAS Features And Basics - Next-Generation SAS: 6 Gb/s Storage Hits The Enterprise . Tom's Hardware . 2009-08-31 . 2014-07-15.
  12. Web site: Serial Attached SCSI - 3 (SAS-3) . 2015-05-11 . 2013-11-07 . T10.
  13. Web site: Serial Attached SCSI - 4 (SAS-4), 5.8.1 General electrical characteristics . 2015-05-11.
  14. Web site: Library » SCSI Express . 2013-08-05 . SCSI Trade Association.
  15. Web site: SAS Protocol Layer - 4 (SPL-4) draft, p. . T10 . 2016-05-09 . 2016-05-15.
  16. Web site: LSI First to Ship New High-Performance 12Gb/s SAS Products . SCSITA.org . . 2013-12-03.
  17. Web site: SFF Committee specifications . ftp.Seagate.com . . 2013-08-05.
  18. Web site: SFF Specifications SNIA. 2021-06-06. www.snia.org.
  19. Web site: Mini Multilane 4X Unshielded Connector Shell and Plug, Rev 2.6. live. https://web.archive.org/web/20190129162758/https://members.snia.org/document/dl/25823. January 29, 2019.
  20. Web site: SFF-8087. 2021-06-06. CS Electronics. en-US.
  21. Web site: Mini Multilane 4X Shielded Connector Shell and Plug, Rev 3.4. live. https://web.archive.org/web/20201114131827/https://members.snia.org/document/dl/25824. November 14, 2020.
  22. Web site: SFF-8088. 2021-06-06. CS Electronics. en-US.
  23. Web site: SFP+ 10 Gb/s and Low Speed Electrical Interface, Rev 4.1. live. https://web.archive.org/web/20210606141238/https://members.snia.org/document/dl/25891. June 6, 2021.
  24. Web site: SFF-8431 SFP+. 2021-06-06. CS Electronics. en-US.
  25. Web site: QSFP+ 4X 10 Gb/s Pluggable Transceiver, rev 4.9. live. https://web.archive.org/web/20191226093417/https://members.snia.org/document/dl/25896. December 26, 2019.
  26. Web site: SFF-8436. 2021-06-06. CS Electronics. en-US.
  27. Web site: Shielded High Speed Serial Multilane Copper Connector, Rev 3.3. live. https://web.archive.org/web/20210606152108/https://members.snia.org/document/dl/25914. June 6, 2021.
  28. Web site: SFF-8470. 2021-06-06. CS Electronics. en-US.
  29. Web site: Serial Attachment 2X Unshielded Connector, Rev 2.5. live. https://web.archive.org/web/20210606152620/https://members.snia.org/document/dl/25920. June 6, 2021.
  30. Web site: SFF-8482. 2021-06-06. CS Electronics. en-US.
  31. Web site: servethehome. 2011-01-31. SAS/ SATA SFF-8087, 8088, 8470, 8482, 8484 Connectors Guide. 2021-01-12. ServeTheHome. en-US.
  32. Web site: Compatible Dell PowerEdge Server Hard Drives. 2021-01-12. Water Panther. en-US.
  33. Web site: Compatible HPE ProLiant Server Hard Drives. 2021-01-12. Water Panther. en-US.
  34. Web site: Multilane Unshielded Serial Attachment Connectors, Rev 2.0. live. https://web.archive.org/web/20210606152920/https://members.snia.org/document/dl/25922. June 6, 2021.
  35. Web site: SFF-8484. 2021-06-06. CS Electronics. en-US.
  36. Web site: SFF-8485 Specification for Serial GPIO (SGPIO) Bus, Rev 0.7. live. https://web.archive.org/web/20190626094026/https://members.snia.org/document/dl/25923. June 26, 2019.
  37. Web site: Mini Multilane 4/8X Unshielded Connector (HDun), Rev 3.5. live. https://web.archive.org/web/20210606153441/https://members.snia.org/document/dl/25938. June 6, 2021.
  38. Web site: Mini Multilane 4/8X 12 Gb/s Unshielded Connector (HD12un), Rev 3.5. live. https://web.archive.org/web/20210606153628/https://members.snia.org/document/dl/25951. June 6, 2021.
  39. Web site: SFF-8643. 2021-06-06. CS Electronics. en-US.
  40. Web site: ICY TIPs_ICY DOCK manufacturer Removable enclosure, Screwless hard drive enclosure, SAS SATA Mobile Rack, DVR Surveillance Recording, Video Audio Editing, SATA portable hard drive enclosure. 2020-06-29. www.icydock.com.
  41. Web site: Mini Multilane 4/8X Shielded Cage/Connector (HDsh), Rev 3.4. live. https://web.archive.org/web/20210606153828/https://members.snia.org/document/dl/25939. June 6, 2021.
  42. Web site: Mini Multilane 4/8X 12 Gb/s Shielded Cage/Connector (HD12sh), Rev 3.5. live. https://web.archive.org/web/20201112010209/https://members.snia.org/document/dl/25952. November 12, 2020.
  43. Web site: SFF-8644. 2021-06-06. CS Electronics. en-US.
  44. Web site: Serial Attachment 2X 12 Gb/s Unshielded Connector, Rev 2.1. live. https://web.archive.org/web/20210606154155/https://members.snia.org/document/dl/25970. June 6, 2021.
  45. Web site: SFF-8680. 2021-06-06. CS Electronics. en-US.
  46. Web site: Multifunction 6X Unshielded Connector, Rev 2.1. live. https://web.archive.org/web/20200217083042/https://members.snia.org/document/dl/26489. February 17, 2020.
  47. Web site: SFF-8639. 2021-06-06. CS Electronics. en-US.
  48. Web site: SFF-8639 Review. 2016-07-21. PC Perspective. 8 June 2015 . TekPerspective.
  49. Web site: Multifunction 6X 24 Gb/s Unshielded Connector, Rev 1.1. live. https://web.archive.org/web/20210606154259/https://members.snia.org/document/dl/25947. June 6, 2021.
  50. Web site: Serial Attachment 4X 24 Gb/s Unshielded Connector, Rev 1.0. live. https://web.archive.org/web/20210606154351/https://members.snia.org/document/dl/25949. June 6, 2021.
  51. Web site: Serial Attachment 2X 24 Gb/s Unshielded Connector, Rev 1.0. live. https://web.archive.org/web/20210606154739/https://members.snia.org/document/dl/25971. June 6, 2021.
  52. Web site: 0.6mm 4/8X Unshielded I/O Connector, Rev 1.2. live. https://web.archive.org/web/20210710095246/https://members.snia.org/document/dl/26744. July 10, 2021. July 10, 2021.
  53. Web site: SAS 4.0, PCI-E 4.0, Upcoming 24Gbps, New HBA's and RAID cards, SlimSAS, My New "Cables" and the new SFF Connector: The Future Is Here, Bois.. live. https://web.archive.org/web/20210527161518/https://forums.servethehome.com/index.php?threads/sas-4-0-pci-e-4-0-upcoming-24gbps-new-hba%E2%80%99s-and-raid-cards-slimsas-my-new-%E2%80%9Ccables%E2%80%9D-and-the-new-sff-connector-the-future-is-here-bois.32425/. May 27, 2021. 2021-07-10. ServeTheHome Forums. 30 March 2021 . en-US.
  54. Web site: Desktop, Nearline & Enterprise Disk Drives . 2007 . 2014-09-22 . Willis Whittington . Storage Networking Industry Association (SNIA) .