maybe something like this…
in regard to the lag on the Pi, check that your hdd doesn’t create it, there might be something wrong with it, i assume it’s an older drives since it’s a 1tb hdd
else basically just kill anything power management related, even on the hdd itself.
you can use hdparm to turn off power manage on the hdd also… which may also cause extensive latency…
else maybe if you are running a GUI on your OS could in theory cause latency.
are you running the OS on the same hdd as the storagenode… tho if its a new storagenode, then it shouldn’t really require much at all… so my money would be on that it’s the hdd being either damage / bad or that the hdd goes into power save mode, because of low utilization and then immediately after the storagenode will access it and it will try to spin up again… which causes the whole system to lag.
the hdd spin up usually locks the entire system tho… atleast if the OS lives on it…
first thing to try would ofc be a complete shutdown, pull the power, wait a ten count and boot everything up again, before you start chasing ghosts.
don’t really any rpi’s so not really familiar with what oddities they may throw at you.
oh and check your cables and such connection, that’s also a classic that gets many often… sometimes a cable / connection may work but barely, because it’s not fully plugged in or simply a bad cable / loose connection.
especially relevant if the old 1tb hdd had a old sata cable with it.