Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

SMART attribute 199 UDMA_CRC_Error_Count keeps rising: what it means and the cable check

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

When smartctl -A shows UDMA_CRC_Error_Count (attribute 199) with a raw value that keeps rising, TrueNAS documentation says "UDMA CRC errors indicate a connection problem between the drive and the controller, such as a loose or faulty SATA cable." Its next instruction is "Check and replace the cable. If errors persist after replacing the cable, seek additional help." The first job is to find out whether the raw value is increasing, so take two readings with time between them.

What the symptom means

Attribute 199 counts interface CRC errors: transfers over the link between disk and controller that failed their cyclic redundancy check. It does not describe the platters or flash. Western Digital's Ultrastar SATA specification defines the interface CRC error bit in the ATA error register: "ICRCE=1 indicates a CRC error occurred during FIS transmission or FIS reception." Seagate's Momentus product manual lists attribute 199 as "UDMA CRC error rate" with the description "CRC Errors during UDMA transfer".

The name varies by drive. The smartmontools 7.3 default table calls attribute 199 UDMA_CRC_Error_Count, and its drive database also uses SATA_CRC_Error_Count for some drives. The smartctl manual says the raw values are the ones that "might have a real physical interpretation", that each manufacturer converts them to normalised values, and that "smartctl does not calculate any of the Attribute values, thresholds, or types, it merely reports them from the SMART data on the device."

TrueNAS adds one caution about reading the number: the content of RAW_VALUE "is generally vendor-specific". Compare readings from the same disk over time, not one disk's number against another model's.

The manual also says solid-state drives "use different meanings for some of the attributes", and that the attribute name smartctl prints is incorrect unless the drive is already in the smartmontools drive database. Check the name printed for your drive before relying on it.

Likely causes

Cause What you see How to confirm
Loose or faulty SATA cable (TrueNAS's named example) Attribute 199 raw value higher on each reading Two readings with time between them; count stops rising after the cable is replaced
Another part of the path between disk and controller: port, backplane, adapter (our own advice; TrueNAS names only the cable as an example) Same rising count; the count may also rise on other disks that share the part Read attribute 199 on every disk that shares the part; move the disk to another port
Old count, no current fault Raw value high but identical on every reading Readings taken hours apart are the same, and smartctl -l error shows no recent ICRC entries
smartctl is reading a bridge or RAID controller, not the disk The model printed by smartctl -i is not the disk Retry with a device type, as TrueNAS says: smartctl -d interfaceType -a /dev/diskID

Prove the cause before changing anything

Everything here reads from the disk. Run it as root or with sudo, and replace /dev/sda with your device.

1. Confirm which disk you are reading. The manual says -i prints the model, serial number and firmware version.

smartctl -i /dev/sda

A good result names the physical disk you expect. A bridge or controller model means smartctl is not talking to the disk; TrueNAS says to add the interface type and gives smartctl -d scsi -a /dev/sda as its example, and smartctl --scan lists the types for your drives.

2. Record attribute 199 now, with the time. TrueNAS's flowchart asks "Is UDMA CRC Errors (ID 199) raw value increasing?"

smartctl -A /dev/sda

Write down the raw value in the RAW_VALUE column of the row for ID 199, and the time of the reading. Read the full table too: if attributes 197 or 198 are also non-zero, that is a different problem; see smartd: "Currently unreadable (pending) sectors" on a Linux disk: what to check first.

3. Save a full record for later comparison. The manual says -x prints all SMART and non-SMART information.

smartctl -x /dev/sda > /root/smart-sda.2026-12-02.txt

4. Read the error log for interface errors. The manual says -l error prints the summary SMART error log, which keeps "the most recent five non-trivial errors", and that it decodes ICRC as "Interface Cyclic Redundancy Code (CRC) error". It also warns that "recent drives may report errors only in the Extended Comprehensive SMART error log".

smartctl -l error /dev/sda
smartctl -l xerror /dev/sda

5. Read the SATA Phy event counters. The manual says -l sataphy prints "values and descriptions of the SATA Phy Event Counters". Use it without the reset option; the manual says -l sataphy,reset resets all counters after reading.

smartctl -l sataphy /dev/sda

6. Read again after an interval. Repeat step 2 later the same day, then again a day later. A raw value that is the same each time means the errors are not continuing. A value that has grown is the case TrueNAS's flowchart addresses.

Fix

TrueNAS gives one fix for a rising count: check and replace the cable. Protect the data first. Before the work, confirm that a current backup exists and has been checked (our own advice; the TrueNAS page does not say it at this step, but it does say "Back up your data" for critical drive errors).

Replace the SATA data cable

Reseating a connector and swapping a cable both mean handling a disk that is in service. First save the current state:

smartctl -x /dev/sda > /root/smart-sda.before-cable.2026-12-02.txt

Disruptive step: the next step shuts the system down, disconnects the SATA data cable from the disk and fits a replacement. Anything on that disk, and on any other disk behind the same cable or backplane connector, is unavailable until the system is back up. Note which port each cable uses before you remove one.

TrueNAS's page says "Check and replace the cable." Our own advice for the swap: shut the system down with your normal procedure, fit a new known-good SATA data cable between the same disk and the same port, and start the system. If the disk is connected through a backplane, follow the enclosure vendor's instructions instead.

To back out: refit the original cable in the original port, start the system, and run smartctl -i /dev/sda and smartctl -A /dev/sda. Compare the output with the saved file /root/smart-sda.before-cable.2026-12-02.txt.

If the count still rises after the cable is replaced

TrueNAS says "seek additional help". TrueNAS's site lists a Community Forum and Enterprise Support. As our own advice, the other parts of the link are the next candidates: a different port on the controller, then the backplane or adapter. Each of these is another hardware change, so repeat the save-first step, the warning and the back-out above for it.

Example (illustrative): nas01 has a SATA disk /dev/sdc. At 09:00, smartctl -A /dev/sdc shows a raw value of 12 for ID 199. At 10:00 it shows 47, a rise of 47 - 12 = 35 in one hour. smartctl -l error /dev/sdc lists entries decoded as ICRC, and attributes 5, 197 and 198 are all 0. The engineer saves smartctl -x output, confirms the backup, shuts the system down in a maintenance window, replaces the SATA data cable and restarts. A day later the raw value is 47 at 10:00 and 47 the next morning: no growth. Had it kept climbing, the next step in the flowchart would be to seek additional help.

Confirm the fix

  1. smartctl -i /dev/sdc names the same serial number as before the work.
  2. Attribute 199 is read at the start and end of a day, and again a week later. The raw value is unchanged between readings.
  3. smartctl -l error and smartctl -l xerror show no new ICRC entries after the cable change.
  4. Other attributes, in particular 5, 197 and 198, have not started to rise.

What to watch afterwards

  • Keep a dated record of attribute 199 for every SATA disk in the system. A new rise on a disk that was stable means the link changed again.
  • Compare disks that share a cable bundle, backplane or controller: if several rise together, suspect the shared part.
  • TrueNAS's flowchart treats a critical drive error as a separate path: a failed SMART test or media errors mean "Back up your data, then consider replacing the drive." Keep that in mind if other attributes begin to change.

Risks and limits

  • These commands have not been run or lab-tested.
  • The TrueNAS page is a troubleshooting flowchart for TrueNAS SCALE and CORE and gives no figure for how large a count is acceptable. None is given here either.
  • The smartctl manual does not say what attribute 199 means or what to do about it; it says attribute values are vendor-specific. The cable guidance comes from TrueNAS.
  • The Western Digital and Seagate documents describe their own drive models. The Seagate manual is a 2012 document.
  • On SSDs and on drives behind a hardware RAID controller or USB bridge, names and meanings can differ; confirm with smartctl -i first.
  • A count that is not rising does not prove the cable is good. It shows only that no new interface errors were counted between your readings.

Sources