I’m wondering what happens when a node runs out of space on its storage disk.
This topic has been kind of discussed in other threads (like these: Dashboard.sh /no space left on device: unknown & What happens to the storagenode when diskspace is all used by Storj) but I don’t know if things changed since then, and it was not clear how exactly it impacts nodes reputations/score/disqualification.
So, let’s imagine the following fictive scenario:
I set up a node to run on a 2TB disk, but configured so it uses only 1TB for Storj, so I can use the rest for my personal files. After several months, the node gets close to its limit around 900GB and goes on happily for filling up the last remaining 100GB it is allowed to use.
But in the meantime, I was not paying attention and did add more than 1TB of personal files to the disk, and it now turns out to be full with no remaining space whatsoever for Storj (or me).
What is going to happen to this node?
- Would it get suspended? (Probable I would say, if database files gets malformed because it cannot properly write to them, depending on how sqlite3 handles that)
- Could it get disqualified because of that?
- Is the node software capable of detecting proactively when the remaining disk space is getting very low (e.g. less than 500MB free) so it stops accepting new data, in a “clean” way?