- Closed
Since around Unraid 6.10 (exact version unclear, but confirmed gone by the 6.10 release candidates), the internal kernel field rdevLastIO that the Dynamix Cache Directories plugin relies on has been removed. This field was previously used to determine the last disk I/O activity.
As a result, the plugin can no longer properly detect when array disks have been accessed. This leads to two kinds of problems:
Errors and warnings in the system log when the plugin tries to read
rdevLastIO.Incorrect behavior, because disk activity is not recognized reliably. This can trigger unnecessary spin-ups, or conversely, the plugin may believe disks are idle when they are not.
I have prepared a fix that replaces the outdated rdevLastIO check with a new method based on /sys/block/*/stat. The plugin now maintains a lightweight state file to track per-device counters and timestamps, which restores correct activity detection on current Unraid versions.
A pull request with this fix is available here:
https://github.com/unraid/cache_dirs/pull/1