First of all you need to search for errors related to a databases and/or filewalker in your logs.
You need to search for error
and database
, error
and filewalker
.
If you have database related errors like malformed
, not a database
, then you need to check them for errors and fix them:
If you have database related errors like database is locked
, then you need to optimize your disk subsystem or move the databases to the other less loaded disk/SSD.
if you have a filewalker related errors, then you need to optimize your disk subsystem or disable a lazy mode, enable the scan on startup if you disabled it (it’s enabled by default), save the config and restart the node.
With the disabled lazy mode you cannot track the progress via logs, but you may use a debug port (Guide to debug my storage node, uplink, s3 gateway, satellite) with endpoint /mon/ps
or check what’s folder is currently processed by the OS tools.
I cannot say how much time it would take on your system to scan your disk(s), only you can tell us. For example, on my biggest node (7TB) (i7 4770 32GB RAM) it was started on 2024-06-28T15:00:11Z
and finished for all satellites only on 2024-07-09T07:37:05Z
in a lazy mode.