Miner restored from old backup not aware of newly proven sectors #7850
-
Hi, all. I'm hoping someone can point me in the right direction, as I haven't seen anything here or on slack or elsewhere that addresses this particular situation. The drive on my miner that stores I understand from reading some related issues (e.g. #4075) that restoring the miner's database isn't (currently?) possible from on-chain data (although that seems counterintuitive since the miner's only purpose seems to be to put onto the blockchain the very data that's now missing from the miner...). In any event, does anyone have advice on how to proceed? The ~60 sectors in question are all CC, they don't contain any deals. So should I just pledge them, have them fail, and then restore their data that the miner deletes so they can remain provable? Or is there some better way to handle this? P.S. I'm also getting errors when the miner starts about two sectors that were in WaitSeed state when the backup was taken: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
you might be able to pledge, let the counter increase, abort and delete the newly pledged sectors right away until you reach the count you are looking for. if this creates more chaos then it helps: import the backup again and you are back at 0 - i think it's at least worth a try
in linux! chmod 500 or some like that. this! before trying any funny things... |
Beta Was this translation helpful? Give feedback.
-
@shotcollin Are you still having the same issue? |
Beta Was this translation helpful? Give feedback.
-
Hi @shotcollin, I am not aware of a better way to correct this, however your writeup may help us troubleshoot and recommend a better way. Can you add that write up here? |
Beta Was this translation helpful? Give feedback.
-
Hi @SgtCoin - happy to provide a write up. My notes get a little sparse toward the end, but here's what I can piece together from notes and memory. To recap the above: my miner's HD got corrupted and my moist recent backup was about three days old. During that time I had created about 50 new CC sectors, e.g. sectors 1000-1050. Upon restoring from backup, the miner thought we were back at the sector number last sealed before the HD crash, e.g. sector 1000. During the respective proving periods, however, sectors 1000-1050 were still successfully proving, and Here's an example of an actual
I figured this was fine, the sectors would be removed according to the miner, but the data would still actually be there and be provable according to window post. That was actually the case for several days. What I discovered later was that when running
and this in the log:
Note that only a |
Beta Was this translation helpful? Give feedback.
Hi @SgtCoin - happy to provide a write up. My notes get a little sparse toward the end, but here's what I can piece together from notes and memory.
To recap the above: my miner's HD got corrupted and my moist recent backup was about three days old. During that time I had created about 50 new CC sectors, e.g. sectors 1000-1050. Upon restoring from backup, the miner thought we were back at the sector number last sealed before the HD crash, e.g. sector 1000. During the respective proving periods, however, sectors 1000-1050 were still successfully proving, and
lotus-miner info
reported a total of 1050 sectors. But when I pledged a new sector the miner would reassign sector numbers that existe…