Sometimes HexOS tells you that some files on a storage pool can't be read. This page explains why that happens, what HexOS shows you, and what to do. Often the damaged file belongs to TrueNAS, not to you, and HexOS can repair it for you.

Your server stores your files with ZFS. ZFS checks each piece of data every time it reads it. If a piece doesn't match what was written, ZFS knows it is damaged.
When ZFS can't fix a piece, the file it belongs to can't be read. HexOS shows you which files.

Damage like this can come from a failing drive. It can also come from a loose cable or a memory fault, even when the drives are healthy.
On the Storage screen, the pool card shows one of these:

HexOS also adds a card to the Activity Center and can send you an email. Click the pool card to open the pool's info panel. Everything on this page happens there.

TrueNAS keeps a copy of its app catalog on one of your pools. The app catalog is the list of apps TrueNAS can install, and TrueNAS downloads it from the internet. Your installed apps run from their own copies, not from the catalog. So a damaged catalog file is not one of your files, and HexOS can remove it safely.

When every damaged file is part of the TrueNAS app catalog, the pool's info panel shows a yellow message: 1 TrueNAS file is damaged.

Click Show file to see which file it is. Hover over the info icon next to the title to read why it is safe to remove.



HexOS says Repairing this pool. Its progress is in Activity. The info panel shows two steps: Remove the damaged TrueNAS files, then Check the pool, with how far the check has got.

Your files stay usable the whole time, and your apps keep running. You can close the panel. The Activity Center shows the repair as Repairing pool.

The check reads every file on the pool, so on a large pool it can take hours. When it finishes with no errors, the Activity Center shows Repaired pool, and the yellow message is gone.

The Activity Center shows Failed to repair pool, the step that stopped, and the reason. For example: The pool check found errors, so HexOS kept the error count. This can point to a hardware problem.

If the check found errors, see If the damage comes back.
When some of your own files are damaged, the pool's info panel shows a red message, for example 2 files can't be read, with the list of files.

HexOS can't repair your own files. Here is what to do:
Tip: If the list then names a snapshot (a name with @ in it), the damaged file is also kept in that snapshot. Ask in the HexOS Discord Community before you delete any snapshot.
Warning: Restore a copy from before the damage happened. A backup made after it may be missing the file.
If the pool keeps only one copy of its data, the message usually says so: This pool keeps one copy of its data, so there's nothing to repair these from. The drive may still be healthy. Hover over the info icon after the message to read why.


Tip: A second drive in a mirror lets ZFS fix damage like this on its own. Keep a backup of anything you can't replace either way.
When the list has your files and TrueNAS files together, HexOS shows the red message and doesn't offer Repair.

Restore or delete your files first, then click Check pool. When the check finishes and only TrueNAS files are left, the yellow message and Repair appear.
If more than 20 TrueNAS files are damaged at once, HexOS shows them in the red message and doesn't offer Repair. Ask in the HexOS Discord Community.
Check pool reads every file on the pool to find damage. The pool stays usable while it runs. You find the button at the bottom of the pool's info panel when the pool has errors or old error counts.


Click Check pool. HexOS says Checking the pool. It stays usable while it runs., and the info panel shows the progress.


After you delete damaged files, ZFS keeps the warning until a check finishes. The message then reads The damaged files were deleted and Click Check pool to clear this warning.

ZFS counts every error it finds on each drive. Repair and Check pool don't reset these counts, so the pool can still show old errors after the damaged files are gone.

If the last check HexOS ran finished with no errors, the info panel says The last check found no errors and shows a Reset error count button. The check inside a successful repair counts, so after a repair you usually see this right away. Click Reset error count to reset the counts.

Otherwise, for example after a restart, the info panel says The pool still shows 2 old errors. (with the number of errors) and Click Check pool first. If it finishes with no errors, you can reset the count. Click Check pool and wait until it finishes. If it found no errors, the message changes to The last check found no errors with the Reset error count button.


Reset error count only resets the displayed error counts. It doesn't repair anything.
Info: A restart of the server between Check pool and Reset error count means you need to run Check pool again first. The memory test restarts the server too.
When the pool has damaged files and every drive in it reports that it is healthy, the info panel adds a blue message: The drives look healthy (The drive looks healthy on a pool with one drive). It means the next things to check are the server's memory and its cables.


Click Run the deep memory test. HexOS opens the memory test set to the Deep test: a quick pass, then three full ones. Because HexOS found a sign of trouble, it doesn't offer the shorter test.

Warning: The memory test restarts the server. Your server, apps and files are offline for the whole test. The Deep test can take a few hours; the dialog shows an estimate for your server before you click Start.
Check the connections opens this section. A data cable or power cable that is loose or worn can cause errors on a healthy drive.
If HexOS can't do what you asked, it tells you why. For example, when some of the damaged files are yours, Repair stops with Some of the damaged files are yours, not TrueNAS's, so HexOS stopped. It never deletes your files. Restore them from a backup, or delete them if you don't need them.

Other reasons you may see:
Help: If the damage keeps coming back or you are not sure what to do, ask in the HexOS Discord Community.