Author

Topic: Disk read error, how do I recover? (Read 1045 times)

hero member
Activity: 910
Merit: 511
April 21, 2017, 03:03:04 AM
#6
I have a full node and it crashed due to an apparent disk read error.

"ERROR: ReadBlockFromDisk: Deserialize or I/O error - CAutoFile::read: fread failed" etc.

What is the proper way to recover from such an error and get the node running again?


if you are using Windows, open dos shell, and type "chkdsk /F"
the "/F" parameter still for FIX.
it can repair bad Sector.

just give it a try...
hero member
Activity: 2716
Merit: 904
April 20, 2017, 09:44:42 PM
#5
I have a full node and it crashed due to an apparent disk read error.

"ERROR: ReadBlockFromDisk: Deserialize or I/O error - CAutoFile::read: fread failed" etc.

What is the proper way to recover from such an error and get the node running again?


try to insert that disk to other pc and run scandisk to fix it!
may be it can help.
hero member
Activity: 910
Merit: 511
April 06, 2017, 08:31:48 AM
#4
I have a full node and it crashed due to an apparent disk read error.

"ERROR: ReadBlockFromDisk: Deserialize or I/O error - CAutoFile::read: fread failed" etc.

What is the proper way to recover from such an error and get the node running again?


if i remeber well, fread() function it is used to read block size and block content from blockchain.
maibe do you have HDD with corrupted sectors???
if you have Windows you can use one of this free software...
https://www.geckoandfly.com/21498/check-repair-hard-disk-bad-sector/
or simply do a chkdsk from dos shell
newbie
Activity: 56
Merit: 0
April 06, 2017, 04:41:18 AM
#3
I know one tool that can help you to recover files. I had the similar situation with my Mac, I used Disk Drill for Mac. This app knows how to recover lost files on Mac OS  and supports most major file types and file systems. It can recover your files from practically any storage device. If it worked for me then it should help you too.
legendary
Activity: 2744
Merit: 2462
https://JetCash.com
March 29, 2017, 10:34:03 AM
#2
I don't know the optimum method for Bitcoin, but a couple of methods occur to me, and I'd be grateful for opinions. I'm assuming it's a blockchain record.

I'd copy to entire blockchain onto and SDcard or SSD disk, and omit the error file (I use file to refer to a single record containing multiple blocks). You should be able to obtain a copy, and add that to the Blockchain directory. I assume that the blockchain verification will accept this. What would happen if you didn't add the deleted record? Would resynchronisation notice that it was missing, and recover it from an active node to rebuild the chain?
sr. member
Activity: 338
Merit: 253
March 29, 2017, 07:44:48 AM
#1
I have a full node and it crashed due to an apparent disk read error.

"ERROR: ReadBlockFromDisk: Deserialize or I/O error - CAutoFile::read: fread failed" etc.

What is the proper way to recover from such an error and get the node running again?
Jump to: