Understanding the node space calculation (not)

One node didn’t have ingress. So I checked out the (free) space that it was advertising.
And to me the results look weird:

All the same node, the only change I did is to modify the allocated space. +100 GB reduces for some reaseon the used space by 1.4TB which is then available as free space and the node receives ingress again.
To me this seems like a strange calculation.

This started a recalculation, because you were forced to restart the node.
Perhaps you might just restart it to have the same result?

I don’t know if I’m understanding you correctly. Are you suggesting to restart the node?

When you changed the allocation, you restarted the node, so you could have just restarted it instead, and the allocation change would have had nothing to do with it.

So you are saying a restart without changing the allocation would have also showed 1.4TB as free? Well the question is, if there is 1.4TB free why does it not show it in the first place but only after a restart be it with or without change of allocation?

I have just reverted the change. First screenshot is as it was running since yesterday, second is the space display after reducing allocation by 100GB:

Edit: And no ingress again.

How much free space is actually available on this node? And how much is actually used?

Do you mean disk space? More than 10TB free on the disk.
What I don’t get is: I increase the allocated space and it reduces the used space and increases the free space both disproportionately to the increase in allocated space.

There is a reason, I just want to figure it out. How much is actually used?

“and the allocation change would have had nothing to do with it.” That’s illogical captain.
It would have been running a long time already, thus the example.

That bug is several months old… 6 or 7 months? The concerning thing would be if hours after startijng it would revert to that, but it’s a bug because to starts on start up. I believe when they were last tinkering in that section of code they screwed that up, ie: the disk size fix - whenever they tried to last fix that debacle.

Maybe the 100 Gigs is related to the necessary/recommended free space for transition to hashstore…my memory is fuzzy, try it +/- 25-50GB of that delta from 1st example.

.2 cents,
Julio

Do you have the same result?
If you feel that’s a bug - please fill it on our GitHub.

It is showing 3.9TB.

I guess, 3.9T? Then it’s 4.28TB, pretty close to what’s showed when you modified the allocation.
Could you please try to increase on 5-10-25GB?

I wonder from where these 1.3TB are coming from? Looks like it’s showed the free space as used.

Seems the :robot: helped to find the answer, and this is not a bug:

In other words, the “100GB” is not a fixed global default minimum. It is a dynamically calculated operational reserve; it can be 0, 10GB, 100GB, etc., depending on table size and config.
The node is not saying “actual disk free is 0 because 5.5TB vs 5.6TB”; it is saying “under the effective allocation formula, after subtracting used space and required reserve, there is no room left.” That is a very different metric.

Yes it is reporting 4.3T as si.

I don’t understand the details of the rest you quoted. But I understand that you are saying it is not a bug.
So if that’s the case, then the value for used space doesn’t show the space SNO gets paid for anymore? Correct? Because otherwise it could not fluctuate from 5.53TB to 4.22TB? So meaning it has become useless?
And if it is not a bug, the node grabs an (unpaid?) “safety margin” of 1.38TB in my case when allocated space drops under a certain threshold resulting in no more ingress?

An this is how it is supposed to be, correct?

Your node is paid for the used space (3.9T ~ 4.28TB minus trash and minus reclaimable), plus used egress, it’s not paid for a free space. Details you can see in the payout history.

By the way, what’s showed in the estimation table?

So from the screenshots above, with an allocation of 5.5TB the value of used space of 5.53TB does not reflect the space that I am getting paid for.
In reality the used space is 4.22TB that I get paid for. But with a setting of 5.5TB allocated, the node does not receive any more ingress. So 1.3TB of space cannot get utilized because Storj sets this as safety marging for the nodes health. Correct?

So in reality Storj occupies 1.3TB unpaid more than you could normally expect. Correct?

Please show the screenshot from the Payout information - the estimation table for the current period.
Also - the Payout History.

Here you go:

As you can see, it shows the paid amount correctly, and it’s not 5.53TB. So for the payout estimation it is better to check this table, not the donut usage graph.
By the way, is the Average Used This Month graph has any gaps?

So 5.53TB is not correct but 5.53TB are being displayed. How is this not a bug?
But it is not just a display problem. We know the real used space is around 4.22TB but the node does not receive ingress, although with allocated space of 5.5TB there are 1.3TB of space available that cannot be used, thus are occupied by the node but not paid. And when you look at it appears to be paid but it is not.
This seems to be very specific for the setting to allocate 5.5TB for this node. When I set it to 5.6TB then magically the used space is correct and the free space that was missing, shows up and most important the node receives ingress again.