Post
Topic
Board Bitcoin Technical Support
Merits 7 from 3 users
Re: Is there a quick solution to Blockchain Rescan Failed ?
by
FredCailloux
on 03/03/2024, 18:01:29 UTC
⭐ Merited by LoyceV (4) ,ABCbits (2) ,BitMaxz (1)
Did you experience any crashes of your system that might have corrupted your presumably external data drive?
If you perform a filesystem check, what's the result of that?
The PC is a Dell with an SSD 240GB and HDD 4TB. Both partitions DataD and DataE are on the HDD, 2TB each.
Bitcoin is on DataE with the whole blockchain.
Last week, after a request from Fedora 38, I proceeded with a system update.
The Fedora update went well and rebooted my machine. Now Fedora 39.
Right after the reboot the whole 4TB drive, both partition were invisible.
After some search I found the linux tool TestDisk. https://www.cgsecurity.org/wiki/TestDisk_Download
I ran TestDisk and it found my drive back and performed some commands which brought back everything.
After that Fedora 39 could read the drive as before and Bitcoin was working, seemingly, fine.
Except, of course, the rescanblockchain error, which is most probably due to this drive lost after Fedora update.

I ran fsck, following your suggestion, with instructions found online.
I'm not proficient in linux commands, let alone deep understanding.
What I got is an error stating "Bad magic number in super-block" and a suggestion to run e2fsck - b 8193 or other sizes.
I remember when running TestDisk, it was found that the drive was of NTFS type.
Which correspond with the initialization when the drive was first installed two year ago.
So now I'm hesitant to run any transformation on that drive,
with my limited knowledge and potential negative consequences.
I definitely need guidance in that direction, if anything could bring the drive back to normal.
Thanks