Skip to content

Technical analysis

SATA and SAS link errors: what counters can and cannot diagnose

Published 2026-10-10 · Updated 2026-10-15

SATA error flags and SAS PHY counters identify observations in the I/O path, not the component that must be replaced. Preserve endpoint identity, timestamps and reset history before comparing counts. Historical field studies show why a disk-only view is incomplete, but their event shares are not modern SAS failure rates.

On this page12 sections
Historical subsystem events
Jiang et al.: about 39,000 systems, 1.8 million disks, January 2004-August 2007. Shares count classified events, not unique disks or application outages.
Historical replacements
Schroeder and Gibson: HPC1 August 2001-May 2006; COM1 May 2006; COM2 September 2004-April 2006. Replaced component is not necessarily root cause.
Diagnostic implementation
smartmontools 7.5 and Linux v6.12: separately identify ATA status, SAS device-log counters and driver-exposed PHY observations.
Not measured
Modern SAS failure rates, probabilities of particular component causes, and any threshold that establishes a safe or failing device.

Where storage subsystem failures came from in the NetApp logs

Jiang et al., Table 1: all four classified subsystem-event types, including the problematic Disk H family. Total includes disk, physical interconnect, protocol and performance events. Share = 100 x category events / class total. These are event fractions, not disk-failure probabilities or service-outage fractions; the paper's Disk H-excluded headline range uses a different selection.

Where storage subsystem failures came from in the NetApp logs
System classDisk eventsInterconnect eventsAll four types (events)Interconnect share (%)Disk share (%)Source
Near-line (SATA)1010548881789227.356.5FAST '08 paper
Low-end32304338982444.232.9FAST '08 paper
Mid-range898979492129637.342.2FAST '08 paper
High-end824073951736442.647.5FAST '08 paper

Disk failure rate is not the subsystem failure rate

Selected annualized event rates stated in Jiang et al., excluding Disk H for the first two comparisons. The paper's subsystem endpoint is RAID-layer exposed failure events, not application unavailability. Do not read an annualized event rate as the probability of at least one outage. The final row compares shelves with the same disk model. The shelf row reports AFR plus or minus a confidence-interval half-width in percentage points; Figure 6 labels intervals as at least 99.5% confidence. The authors report 99.5% confidence for the Disk A-2 shelf comparison; no interval estimator is inferred here.

Disk failure rate is not the subsystem failure rate
ComparisonValue A (% per year)Value B (% per year)What the paper concludesSource
Low-end: disk AFR (A) versus whole subsystem AFR (B)0.94.6Different endpoints: disk events versus all subsystem failure typesFAST '08 paper
Near-line: disk AFR (A) versus whole subsystem AFR (B)1.93.4Disk and subsystem-event rates need not rank system classes in the same orderFAST '08 paper
Low-end interconnect AFR: shelf A versus shelf B, Disk A-22.66 ± 0.232.18 ± 0.13Observed shelf association, primarily in interconnect events; not a randomized causal estimateFAST '08 paper

Cable and backplane lines in hardware replacement logs

Schroeder and Gibson, Table 3. Numerator: replacements attributed to the listed component; denominator: all recorded hardware replacements in that dataset. These are not component failure probabilities. Service abbreviations such as SCSI BP are retained because the authors warn that meanings differ across datasets.

Cable and backplane lines in hardware replacement logs
Data setComponentShare of replacements (%)NoteSource
COM2Hard drive49.1Most replaced component in this setFAST '07 paper
COM2RAID card4.1Adapter in the I/O pathFAST '07 paper
COM2SCSI cable2.2Same share as fans and CPUs in this listFAST '07 paper
COM1SCSI board0.6Disk drives are 18.1% in the same listFAST '07 paper
HPC1SCSI BP (service-log label)0.3Hard drives are 30.6% in the same listFAST '07 paper

One interconnect failure as the storage layers logged it

The example log in Figure 3 of Jiang et al., re-tabulated; the seconds column is this page's subtraction from the first timestamp. It shows the order of events in one system, not a measured delay for any other.

One interconnect failure as the storage layers logged it
Clock time (PDT)Elapsed since first event (s)Event as loggedLayerSource
05:43:360fci.device.timeout: adapter 8 encountered a device timeout on device 8.24Fibre ChannelFAST '08 paper
05:43:5014fci.adapter.reset: resetting Fibre Channel adapter 8; scsi.cmd.abortedByHost on device 8.24Fibre Channel, SCSIFAST '08 paper
05:44:1236scsi.cmd.selectionTimeout: targeted device did not respond; I/O will be retriedSCSIFAST '08 paper
05:44:2246scsi.cmd.noMorePaths: no more paths to device, all retries have failedSCSIFAST '08 paper
05:46:22166raid.config.filesystem.disk.missing: disk 8.24 is missingRAIDFAST '08 paper

Host-side signals that point at the link, and what each leaves open

Pinned Linux v6.12 sources and smartmontools 7.5 documentation. Interpret command flags, recovery actions and counters separately.

Host-side signals that point at the link, and what each leaves open
ObservationSupported readingNot establishedSource
Emask 0x10AC_ERR_ATA_BUS is bit 4 in Linux's completion-error mask.A software error category, not a cable diagnosis.Linux error categories
ICRCTransfer-integrity error.Which physical component caused it.libata guide
UNCUncorrectable data reported by the device.A cable diagnosis or universal replacement rule.libata guide
ABRT aloneCommand rejection has several possible meanings.A unique transport or media cause.libata guide
PHYRdyChg / CommWakeLink-state context, not interchangeable with BadCRC; hotplug handling depends on link/power policy.A broken cable from one printed token.Linux ATA handling
Several failed NCQ commandsOne failed tag can trigger recovery of other outstanding commands.One independent device fault per log line.Linux NCQ recovery
SMART attribute label or raw valueModel-specific interpretation is required.A universal meaning for IDs 183 or 199.smartctl 7.5 manual
Drive disappears without a media errorAvailability was lost; investigate the whole path.Proof that the media or device is healthy.FAST '08 paper

SATA PHY counters are different event populations

Examples decoded by smartmontools 7.5 from SATA General Purpose Log 0x11. Event identifiers are not SMART attribute IDs. Do not sum overlapping counters as unique incidents.

SATA PHY counters are different event populations
Event IDWhat is countedDiagnostic boundarySource
0x0001Commands failing with ICRCNot a count of defective cables.SATA PHY decoder
0x000aRegister responses sent following COMRESETReset-related activity, not proof of spontaneous failure.SATA PHY decoder
0x000bHost-to-device FIS CRC errorsDirection matters; not all interface traffic.SATA PHY decoder
Maximum value / '+'A saturated event counterAn unchanged maximum does not prove no new events.SATA PHY decoder

SAS: four PHY counters and their limits

Examples decoded per PHY by smartmontools 7.5 from the SAS SSP Protocol Specific port log page. Additional event descriptors may be present. These are 32-bit reported counts, not independent failures.

SAS: four PHY counters and their limits
Reported counterObservation categoryWhat it does not establishSource
Invalid DWORD countInvalid received DWORD observationsA number of bad disk sectors or a unique faulty componentsmartmontools SAS decoder
Running disparity error countReceived coding-disparity errorsA universal interpretation across all SAS generations and encodingssmartmontools SAS decoder
Loss of DWORD synchronization countLoss of DWORD synchronizationProof that the attached disk's media caused the interruptionsmartmontools SAS decoder
Phy reset problem countProblems associated with PHY resetA count of every reset, or a command to reset the physical linksmartmontools SAS decoder

Reproduce the event shares with the complete input counts and calculation module. The denominator includes all four failure categories; no new statistical uncertainty is estimated.

Read first; preserve the evidence

For a supported SAS target, smartctl -l sasphy /dev/sdX reads log page 0x18. The optional sasphy,reset form reads first and then requests a counter reset. It changes diagnostic history; it is not an extra read-only view or a physical-link repair. For SATA, the separate -l sataphy option reads PHY event log 0x11. smartctl manual.

Operational inference: identify the actual device and access path before collecting. Retain the complete output and acquisition errors, not only a four-counter screenshot. Record endpoint identifiers, collection time, link state and intervening maintenance. Preserve the initial sample before any authorized reset, and retain its success or failure. A passed health summary or an unchanged counter does not exclude faults outside the observation window.

What the evidence supports

The Table 1 arithmetic is reproducible, but its denominator is selected subsystem events. The paper's 27-68% interconnect headline excludes Disk H; the table here includes it. Keeping that distinction prevents two valid summaries from appearing contradictory. Neither selection estimates a modern SAS fleet. [jiang]

Replacement logs describe maintenance actions. The FAST 2007 paper cautions against equating replacements with confirmed defective drives. Its cited 43% no-problem-found figure is a vendor personal communication, not a measured share of cable-caused returns and not proof that those drives were healthy. [schroeder]

The NetApp log example is one incident, not a latency distribution. Its clustering comparison concerns the probability of exactly two failures of a type in a shelf-year against an independence model. The reported 10-25-fold difference for non-disk types is not the conditional risk immediately after one failure. A cluster of inaccessible drives is a reason to investigate shared dependencies, not a diagnosis by itself. [jiang]

In the documented NCQ error path, log page 0x10 identifies the failed command tag. Linux v6.12 can then clear shared error status from the other affected commands and mark them for retry. This path has guards: a frozen port, unsuccessful log read or inactive tag prevents that attribution. Repeated command messages therefore need incident-level context, not automatic counting as separate disk failures. [ata-doc] [ata-sata]

A counter is meaningful only at its reporting endpoint. Linux v6.12 optionally calls get_linkerrors before displaying a stored PHY field. If that callback is absent, the sysfs read can still succeed: a displayed zero is not proof of a fresh hardware sample. Other driver paths may update the field, so check the driver's acquisition behavior. Host or expander observations are not interchangeable with a target-device log. An unsupported read is unavailable telemetry, not a measured zero. [linux-sas]

smartmontools 7.5 uses positional JSON keys for port/PHY containers; their suffixes are not the reported port or PHY identifiers. Match the identifier fields and SAS endpoint addresses, not container order. Its LOG SENSE read and optional LOG SELECT reset are separate commands, not an atomic read-and-clear. Operational inference: events arriving between them can escape successive reset-based samples; preserve read-only baselines when possible. [sas-decoder]

For incident collection, compare the same event on the same device, port, PHY and endpoint over a recorded interval. A known reset, replacement or unexplained decrease breaks a naive subtraction. Establish a new baseline and investigate documented wrap or saturation rather than assuming either. Events per hour are not bit-error rate or annualized drive failures: those require different event definitions and exposure denominators. [smartctl] [linux-sas]

Definitions: Native Command Queuing, SATA PHY event counters, SAS PHY event counters, SAS definition, SCSI sense and kernel-log signatures, what fails most often on HDDs, SSDs and links and the SMART failure-signal note.

Method

Source review of smartmontools 7.5 and Linux v6.12 at pinned commits, plus independent rechecking of Jiang et al. (FAST 2008, Table 1 and sections 2-5) and Schroeder and Gibson (FAST 2007, Table 3). Event shares are generated from the downloadable four-category input counts and calculation module into the article data before build, so HTML and llms-full.txt use the same rows. Diagnostic guidance is an operational inference from the reporting boundaries, not a tested fault classifier. No hardware experiment, fleet measurement or paper replication was performed.

Limits

The field data describe older FC/SATA shelves and hardware replacement records, not current SAS error incidence. Jiang counts failures exposed at the RAID layer; masking above or below that boundary matters. Counter availability and meaning depend on the device, driver, transport and implementation. Pinned source behavior is not a promise for every firmware or software version. No calibrated cable-versus-drive diagnostic accuracy, universal threshold, counter-persistence guarantee or SAS bit-error denominator is available here.

Sources

  1. 01Jiang, Hu, Zhou, Kanevsky: Are Disks the Dominant Contributor for Storage Failures? FAST 2008 (paper PDF) · accessed 2026-10-15
  2. 02Schroeder, Gibson: Disk failures in the real world: What does an MTTF of 1,000,000 hours mean to you? FAST 2007 (HTML paper) · accessed 2026-10-15
  3. 03smartmontools 7.5: smartctl manual, vendor-specific attributes and sasphy/sataphy options · accessed 2026-10-15
  4. 04smartmontools 7.5: SAS port/PHY decoder and optional counter reset · accessed 2026-10-15
  5. 05Linux v6.12: SAS transport PHY identity and link-error acquisition · accessed 2026-10-15
  6. 06Linux v6.12: ATA completion-error categories · accessed 2026-10-15
  7. 07Linux v6.12: libata device, NCQ and bus error documentation · accessed 2026-10-15
  8. 08Linux v6.12: libata error classification and SError handling · accessed 2026-10-15
  9. 09Linux v6.12: ata_eh_analyze_ncq_error and failed-tag attribution · accessed 2026-10-15
  10. 10smartmontools 7.5: PrintSataPhyEventCounters decoder · accessed 2026-10-15

Published by Hesela team · Published · Updated

Report a correction · Editorial standards · Reuse guidance

Change history

: first published.

: latest recorded update. A detailed change note is not available for this revision.

New-publication RSS · Correction RSS

Cite this page
Hesela team. SATA and SAS link errors: what counters can and cannot diagnose. Hesela. 2026-10-15. https://hesela.com/analyses/sata-sas-link-failure-signatures/