Bitcoin Forum
November 16, 2024, 08:50:54 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Disk read error, how do I recover?  (Read 1051 times)
Blinken (OP)
Sr. Member
****
Offline Offline

Activity: 338
Merit: 253



View Profile
March 29, 2017, 11: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?

Bitcoin ♦♦♦ Trust in Mathematics, Not Bankers ♦♦♦
Jet Cash
Legendary
*
Offline Offline

Activity: 2828
Merit: 2472


https://JetCash.com


View Profile WWW
March 29, 2017, 02:34:03 PM
 #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?

Offgrid campers allow you to enjoy life and preserve your health and wealth.
Save old Cars - my project to save old cars from scrapage schemes, and to reduce the sale of new cars.
My new Bitcoin transfer address is - bc1q9gtz8e40en6glgxwk4eujuau2fk5wxrprs6fys
Mantic0re
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
April 06, 2017, 08: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.
italianMiner72
Hero Member
*****
Offline Offline

Activity: 910
Merit: 511


View Profile
April 06, 2017, 12:31:48 PM
 #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

██▬▬▬

██▬

██▬

██▬▬▬



████           ▄▄█████████▄▄            ▄▄█████████▄▄        ████         █████      ██████████████████   ████████████       ████    ████████████    
████         ▄███████████████▄        ▄███████████████▄      ████       █████      ████████████████████  █████████████      ████    █████████████   
████        █████▀       ▀█████▄     █████▀       ▀█████     ████     █████         █       ████       █  ████     █████             ████     █████  
████       ████▀           ▀████▄   ████▀           ▀████    ████   █████                   ████          ████      ████     ████    ████      ████  
████      ████▀              ▀████ ▀███▀                     ████ █████                     ████          ████     █████     ████    ████     █████  
████      ████                 ████▄ ▀                       ████████                       ████          █████████████      ████    █████████████   
████      ████                  ▀████                        ████████                       ████          ████████████       ████    ████████████    
████      ████▄             ▄██▄ ▀████▄                      ████ █████                     ████          ████    ████       ████    ████            
████       ████▄           ▄████   ▀████▄           ▄████    ████   █████                   ████          ████    ▀████      ████    ████            
████        █████▄       ▄█████      █████▄       ▄█████     ████     █████                 ████          ████      ████     ████    ████            
████████████ ▀███████████████▀        ▀███████████████▀      ████       █████               ████          ████       ████    ████    ████            
█████████████  ▀▀█████████▀▀            ▀▀█████████▀▀        ████         █████             ████          ████        █████  ████    ████            

 
 
 
▬▬▬██

▬██

▬██

▬▬▬██
Russlenat
Hero Member
*****
Offline Offline

Activity: 2982
Merit: 967


Want to run a signature campaign? msg Little Mouse


View Profile
April 21, 2017, 01:44:42 AM
 #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.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
italianMiner72
Hero Member
*****
Offline Offline

Activity: 910
Merit: 511


View Profile
April 21, 2017, 07: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...

██▬▬▬

██▬

██▬

██▬▬▬



████           ▄▄█████████▄▄            ▄▄█████████▄▄        ████         █████      ██████████████████   ████████████       ████    ████████████    
████         ▄███████████████▄        ▄███████████████▄      ████       █████      ████████████████████  █████████████      ████    █████████████   
████        █████▀       ▀█████▄     █████▀       ▀█████     ████     █████         █       ████       █  ████     █████             ████     █████  
████       ████▀           ▀████▄   ████▀           ▀████    ████   █████                   ████          ████      ████     ████    ████      ████  
████      ████▀              ▀████ ▀███▀                     ████ █████                     ████          ████     █████     ████    ████     █████  
████      ████                 ████▄ ▀                       ████████                       ████          █████████████      ████    █████████████   
████      ████                  ▀████                        ████████                       ████          ████████████       ████    ████████████    
████      ████▄             ▄██▄ ▀████▄                      ████ █████                     ████          ████    ████       ████    ████            
████       ████▄           ▄████   ▀████▄           ▄████    ████   █████                   ████          ████    ▀████      ████    ████            
████        █████▄       ▄█████      █████▄       ▄█████     ████     █████                 ████          ████      ████     ████    ████            
████████████ ▀███████████████▀        ▀███████████████▀      ████       █████               ████          ████       ████    ████    ████            
█████████████  ▀▀█████████▀▀            ▀▀█████████▀▀        ████         █████             ████          ████        █████  ████    ████            

 
 
 
▬▬▬██

▬██

▬██

▬▬▬██
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!