Monitoring disk health with SMART in a home NAS and lab: attributes that matter, tooling, and when to replace
Every drive in a NAS reports a table of health numbers, and almost none of them, on their own, mean what they appear to mean. A raw value in the millions can be a vendor's packed counter and perfectly healthy. A single digit in the wrong row can be the first written evidence that the drive is retiring damaged areas of its own surface. SMART monitoring is useful precisely when those two cases are told apart reliably: a small set of attributes watched as trends, a schedule of self-tests that actually runs, and a replacement rule decided in advance, while nothing is alarming. This guide builds that system from the tooling documentation itself, what the columns mean, what the tests do, and where the NAS platform's own warnings change how a schedule should be built.
Scope note: the attribute discussion below is the ATA
SMART attribute system used by SATA drives, which is what
smartctl -A prints. NVMe devices report a different health
log rather than these attributes, so no ATA threshold or raw-value rule
here should be applied to an NVMe report.
What SMART can and cannot tell you
SMART is the drive firmware's own bookkeeping, read out by tools such as
smartctl. The smartctl documentation is blunt about the
limits: the tool only reports the different attribute types, values, and
thresholds as read from the device, and the conversion between a raw
value and its normalized score is done by the disk's firmware using each
vendor's own algorithm. Two consequences follow. First, a normalized score
can be compared against its own threshold, but scores are not a universal
currency across brands. Second, the conversion from a raw value to
physical units is not specified by the SMART standard at all, temperature
generally reports its raw value in Celsius, but some vendors use unusual
conventions, including power-on hours reported in minutes on some drives.
Monitoring built on those facts watches direction and corroboration
rather than worshipping any single number: an attribute moving steadily
in the wrong direction, confirmed by a self-test result, is evidence; one
unfamiliar raw value, on its own, is a question.
The attributes that matter, and the ones that cry wolf
The table below separates the attributes into the two groups that matter for a home NAS. The action group's treatment follows repair-shop guidance on which non-zero values warrant an immediate backup; the context group is where false alarms concentrate.
| Attribute | Group | How to treat it |
|---|---|---|
| 5. Reallocated Sector Count | Action | Any non-zero raw value that is growing over time: back up immediately and plan replacement |
| 197. Current Pending Sector Count | Action | Any non-zero raw value is a concern; these sectors are waiting, unreadable or unwritable, at the surface level |
| 198. Offline Uncorrectable | Action | Any non-zero raw value is a problem signal, in the same back-up-now group |
| 10. Spin Retry Count | Action | Any non-zero value joins the back-up-now list in the same guidance |
| 1. Raw Read Error Rate | Context | On Seagate drives the packed raw value looks alarming but is usually fine; judge it by its normalized value against threshold, not by the raw size |
| 7. Seek Error Rate | Context | Same packed-format caution as Raw Read Error Rate on Seagate drives |
| 9. Power-On Hours | Context | Age, not damage; the repair guidance flags consumer drives approaching 40,000 hours or more as getting old, and some vendors report this value in minutes, so verify the unit before doing arithmetic |
| 194. Temperature Celsius | Context | Consistently above 50°C is the concern level in the same guidance; a single warm reading during a scrub is a different event from a drive that lives there |
The pattern underneath the table is the real rule. The action attributes count bad events at the disk surface or in its mechanics, and zero is their only healthy raw value. The context attributes count activity or age, and their raw values are large on healthy, busy drives. Treating a context number like an action number produces panic replacements of good drives; treating an action number like context produces the opposite and worse error, watching a drive document its own failure, week after week, without the backup ever being taken.
Reading a report: value, worst, threshold, raw
A smartctl -A report gives every attribute the same set of
columns, and the smartctl documentation defines them precisely enough to
build a reading habit on. The normalized VALUE is the firmware's score,
converted from the raw value by the vendor's own algorithm into the range
1 to 254. WORST is the smallest normalized value the disk has recorded at
any time in its lifetime, the score's historical low point, which makes
it the first place a past incident shows up. THRESH is the line the
firmware itself draws: if the normalized value is less than or equal to
the threshold, the attribute is said to have failed, and if that attribute
is a pre-failure type, disk failure is described as imminent. RAW_VALUE is
the underlying count, in whatever units the vendor chose. Read in that
order, raw count for the action attributes, normalized value against
threshold for everything, worst for history, a report takes a minute.
Read as a wall of unexplained numbers, it teaches nothing and gets
ignored, which is the failure mode this whole system exists to
prevent.
The overall-health line deserves the same precision. It is a summary of the firmware's threshold checks, not a promise. The strongest evidence in the sources for this guide is a piece of NAS guidance that inverts the usual reading: if a disk fails a self-test, start thinking about replacing that disk even if the overall status still reads Passed. A passed summary with a failed test is not a contradiction to resolve in the summary's favour; the test result is the more specific evidence, and it wins.
Tooling and a test cadence that does not fight your scrubs
Two layers of tooling cover a home lab. The first is
smartctl directly: smartctl -a for the full
report, -A for the attribute table alone, -c for
the drive's own estimated test times, -t short and
-t long to start self-tests, and -l selftest to
read the results. If a report shows SMART unavailable, the Ubuntu
community documentation for smartmontools gives the enabling command,
smartctl -s on for the device, and notes tests can run while
a drive is mounted with possibly some drop in performance. The second
layer is the NAS platform's scheduler: in TrueNAS, automatic tests are
set under Tasks > S.M.A.R.T. Tests by choosing disks, test type, and
schedule, the S.M.A.R.T. service must be enabled for them to run, manual
results appear under Storage > Disks in the test results view, and a
saved schedule can be verified from the shell with
smartd -q showtests. One TrueNAS warning belongs in bold in
any home schedule: S.M.A.R.T. tests can offline disks, so they must not
be scheduled simultaneously with a scrub or resilver, and its legacy
guidance adds that some tests cause heavy disk activity and drastically
reduced performance if they collide with other disk-intensive work.
The tests themselves differ by depth, per the smartctl manual. The short self-test usually takes under ten minutes and checks electrical and mechanical performance as well as read performance. The extended test takes tens of minutes and is the longer, more thorough version of the same idea; on large drives the full surface scan is the work of hours in practice, which is exactly why it belongs on a schedule instead of in a moment of suspicion. TrueNAS's own example cadence is a short self-test once a week and a long self-test once a month, and its tasks documentation notes the default scrub cadence is also monthly, from an automatically created task, so the scheduling job is to place the long test and the scrub in different windows of that month, not merely to have both. The cadence below is this guide's synthesis of those sourced pieces.
| Check | Cadence | Why |
|---|---|---|
| Short self-test, all pool drives | Weekly | Fast electrical, mechanical, and read check; the documented example cadence |
| Extended self-test, all pool drives | Monthly, offset from the scrub | The thorough surface scan; TrueNAS warns it can offline disks and must not collide with scrub or resilver |
| Attribute snapshot saved and compared | With each extended test | Trends are the evidence; a snapshot nobody compares is just storage |
| Error and self-test log review | After any alert, crash, or unexpected reboot | Test errors appear in the SMART error log; that is where the record lives |
The replacement decision framework
Replacement decisions go wrong in both directions: a drive swapped on one frightening raw value that turned out to be a packed vendor counter, and a drive left in service while three separate signals agreed it was dying. The framework below requires corroboration for a planned replacement and removes deliberation entirely when the action attributes move.
| Signal combination | Decision |
|---|---|
| An action attribute (5, 197, 198, 10) is non-zero and growing between checks | Back up now, replace on the shortest practical timeline, this is the repair guidance's back-up-now case |
| A self-test fails, whatever the overall-health line says | Plan replacement; the NAS guidance treats a failed test as the specific evidence over a Passed summary |
| A normalized value reaches or crosses its threshold on a pre-failure attribute | Replace; by the firmware's own definition the attribute has failed and failure is described as imminent |
| One action attribute appears at a small non-zero value and is stable on recheck | Shorten the watch interval and recheck, the repair guidance's own cheat sheet rechecks concern attributes in one week and plans replacement only if they have grown |
| Only context attributes look dramatic (packed raw read or seek values, high cycle counts, high hours) | Do not replace on that evidence; record it, confirm the normalized values sit well above threshold, and keep the normal cadence |
Every row of that framework assumes the backup question is already answered. Monitoring is not protection: a pool with redundancy can survive a drive, and a backup survives the pool. The framework's job is to spend drive money on evidence instead of anxiety, and to make sure that when the evidence is real, the decision was already made and only the purchase remains.
Setting it up, step by step
- Inventory the drives. List every drive in the NAS and each lab host, and record model, serial, and device name where the platform shows them. Monitoring that misses a drive is a gap that looks exactly like health.
- Confirm SMART is available and enabled on each drive.
Run
smartctl -aper device and read the support lines; if SMART is available but not enabled, enable it withsmartctl -s on. - Take the baseline snapshot. Save the full attribute table for every drive, dated. Every future trend judgement compares against this file.
- Run one short test and one extended test manually.
Use
smartctl -cto see the drive's estimated times first, then-t shortand later-t long, and read the outcomes with-l selftest. A monitoring schedule built on tests never run by hand cannot be debugged when it matters. - Schedule the cadence in the platform. In TrueNAS, add the weekly short and monthly long schedules under Tasks > S.M.A.R.T. Tests with the service enabled, placed in windows that do not overlap the pool's scrub schedule.
- Verify the schedule exists. Run
smartd -q showtestsfrom the shell and confirm the tests listed match the schedule intended, for every drive in the inventory. - Wire the results somewhere they will be seen. Know where results surface, in TrueNAS, the per-disk test results view and the platform's alerts when tests discover issues, and check that place on the same rhythm as the tests.
- Write the replacement rule down with the baseline. The framework table above, saved beside the snapshots, so a future alert is matched against a decision made calmly.
What success looks like
The system is working when a monthly review takes minutes and produces no surprises: every drive in the inventory has a current short-test result, a monthly extended-test result that did not collide with the scrub, and an attribute snapshot that can be diffed against the baseline. Action attributes read zero, or a non-zero one is already inside the framework with a dated recheck or a replacement in motion. Context attributes are recorded without drama. Success, in other words, is not a screen that says Passed, it is the ability to answer, for any drive in the lab, what its last three tests said and whether its worst numbers are moving.
FAQ
The overall health says PASSED but a test failed. Which is right? Treat the failed test as the actionable evidence. TrueNAS guidance is explicit that a disk failing a test deserves replacement thought even when the overall status is Passed; the summary is a threshold roll-up, and the test is a direct examination.
A raw value is in the millions. Is the drive dying? Probably not on that evidence alone. Raw-to-physical conversion is not part of the SMART standard, and some vendors pack multiple counters into one raw field, the classic case is the Seagate read and seek error rates. Check the normalized value against its threshold and the action attributes before concluding anything.
Can tests run while the NAS is in use? Yes, with caveats. The smartmontools community documentation notes tests can run on a mounted drive with possibly some performance drop, and TrueNAS warns some tests cause heavy disk activity, schedule the long tests away from scrubs, resilvers, and the lab's busy hours.
Does SMART replace backups or redundancy? No. SMART is an early-warning system with documented blind spots, it reports what the firmware tracks, in the firmware's own terms. It earns its place by making replacements planned instead of emergency, not by making data safe on its own.