-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Lotus tries to acquire ~500GB for sectors in FinalizeSector state #6182
Comments
Ultimately the problem here seems to be that my HDDs are rather full - at 93%, and there is only ~500GB left on each of the storage locations. I am not sure why Lotus needs ~520GB for the FinalizeSector, given that a sealed sector is 32GB and we just need to move it to a given storage location... |
When calculating the storage space, miner calls the same function as in the sealing phase. This leads to this situatio. |
@moremorefun that's right, I am just wondering if this is necessary, or just done for simplicity and needs fixing. I think it is the former. |
I have tried to modify the function to calculate the space required for storage, and the preliminary test did not find any problems.
|
Describe the bug
For some reason I ended up with 4 sectors in FinalizeSector state on my miner:
Sectors never moved to
Proving
state, so after rebooting the miner, I noticed that Lotus tries to acquire ~520GB disk space which is not available in order to process the sectors:Even though I had 1.2TB free on sealing location, none of the sectors could progress.
The workaround was to hack Lotus and override the
stat.Available
variable in order to move forward with finalizing the sectors:Version (run
lotus version
):c074031fa163c03578d110762eced57b783435ed
Expected behavior
Lotus should not need to acquire ~500GB per sector when the sectors are sealed and just need to be moved from the sealing directory to a given HDD for storage.
The text was updated successfully, but these errors were encountered: