Bitcoin Forum
May 06, 2024, 10:13:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Disk read error, how do I recover?  (Read 1035 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 ♦♦♦
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715033591
Hero Member
*
Offline Offline

Posts: 1715033591

View Profile Personal Message (Offline)

Ignore
1715033591
Reply with quote  #2

1715033591
Report to moderator
1715033591
Hero Member
*
Offline Offline

Posts: 1715033591

View Profile Personal Message (Offline)

Ignore
1715033591
Reply with quote  #2

1715033591
Report to moderator
1715033591
Hero Member
*
Offline Offline

Posts: 1715033591

View Profile Personal Message (Offline)

Ignore
1715033591
Reply with quote  #2

1715033591
Report to moderator
Jet Cash
Legendary
*
Offline Offline

Activity: 2702
Merit: 2456


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: 2786
Merit: 907



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!