Structure needs cleaning

I checked my node and saw that my Bitcoin Knots node had stopped:

Fatal LevelDB error: IO error: /data/bitcoin/chainstate/051184.ldb: Structure needs cleaning

I first tried “-reindex-chainstate” in the conf file and it started but then died again.

I uninstalled and reinstalled Knots, ensuring that the data directory was empty and started re-syncing. Same deal after a while. Any ideas? Could it be the hard drive dying (even though it’s a new Umbrel Home)?

bitcoin-log-tail.txt (49.2 KB)

I do not like AI much, but it seemed to have a good explanation.

Gemini said, “The error “Fatal LevelDB error: IO error: /data/bitcoin/chainstate/051184.ldb: Structure needs cleaning” indicates that the LevelDB database used by the Bitcoin Knots node has become corrupted or inconsistent, likely due to an unexpected shutdown, disk issues, or file system errors. The “Structure needs cleaning” message specifically means that the database’s internal structure is damaged and requires repair. This often occurs when the node is interrupted during write operations, and while reindexing or reinstallation may temporarily resolve it, persistent issues suggest underlying problems such as failing hardware (e.g., a failing hard drive) or filesystem corruption. Addressing this typically involves checking disk health, ensuring proper file system integrity, and potentially restoring from a clean backup.”

After what you have tried. It seems like the hardware (SSD) is the problem. Take it for what it’s worth. Maybe someone else has better thoughts.