Bitcoin Forum
May 06, 2024, 11:31:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: database read errors when syncing/disk drive type  (Read 196 times)
eb9109 (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
December 04, 2018, 05:15:56 AM
 #1

Hello, since 17.0.1 pc cant seem to get to sync bitcoin core as the program confirms for a while then says cannot read from database, then closes. Its on a western digital 1Tb drive(less than 3 years old) but I read somewhere they now recommend an SSD to run bitcoin : is this the case?

I ran chkdsk /f /r, which replaced bad clusters across several folders but then pc crashed after a day...need I restart/finish this process and will it even sync when/if it does : are spinning disks now obsolete for bitcoin on a 15mbit connection, considering format and rescan may alternatively be the solution.

Having many blockchains on my drive, even format and resync is a formidable task, considering other blockchains on this drive work fine, may format be the solution or is the above the overriding factor since the wallet got rewritten incorrectly at version 16...Huh

Thanks
1715038271
Hero Member
*
Offline Offline

Posts: 1715038271

View Profile Personal Message (Offline)

Ignore
1715038271
Reply with quote  #2

1715038271
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16609


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
December 04, 2018, 07:03:57 AM
Merited by Foxpup (3)
 #2

I ran chkdsk /f /r, which replaced bad clusters across several folders but then pc crashed after a day...
Your hardware is failing. If you find bad clusters, you should replace the disk. Make sure your backups are up to date (do this NOW!). You shouldn't keep using an unreliable disk, it may even still have warranty (make sure to shred all data before sending it in).

eb9109 (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
December 04, 2018, 04:19:18 PM
 #3

Ok reindex fails with `fatal error occurred`, this is the log but I think LoyceV  may well be correct...
Thanks for the feedback, I have dat files safe

best=00000000000000000e7f7840597bd01793617a08281f95128b0591fc358c5b99 height=316097 version=0x00000002 log2_work=80.231896 tx=44754159 date='2014-08-17T15:16:57Z' progress=0.125087 cache=575.9MiB(4206868txo)
2018-12-04T12:34:09Z Fatal LevelDB error: IO error: F:\Bitcoin\Bitcoin1\chainstate\001736.ldb: Data error (cyclic redundancy check).


2018-12-04T12:34:09Z You can use -debug=leveldb to get more complete diagnostic messages
2018-12-04T12:34:09Z *** System error while flushing: Fatal LevelDB error: IO error: F:\Bitcoin\Bitcoin1\chainstate\001736.ldb: Data error (cyclic redundancy check).


2018-12-04T15:35:47Z UPnP Port Mapping successful.
2018-12-04T15:36:35Z Failed to connect best block (System error while flushing: Fatal LevelDB error: IO error: F:\Bitcoin\Bitcoin1\chainstate\001736.ldb: Data error (cyclic redundancy check).

 (code 0))
2018-12-04T15:36:35Z socket sending timeout: 10963s
2018-12-04T15:36:35Z Potential stale tip detected, will try using extra outbound peer (last tip update: 10947 seconds ago)
2018-12-04T15:36:35Z socket sending timeout: 10947s
2018-12-04T15:36:35Z socket receive timeout: 10854s
2018-12-04T15:36:35Z tor: Thread interrupt
2018-12-04T15:36:35Z addcon thread exit
2018-12-04T15:36:35Z msghand thread exit
2018-12-04T15:36:35Z net thread exit
2018-12-04T15:36:35Z Shutdown: In progress...
2018-12-04T15:36:35Z torcontrol thread exit
2018-12-04T15:36:35Z opencon thread exit
2018-12-04T15:36:36Z UPNP_DeletePortMapping() returned: 0
2018-12-04T15:36:36Z upnp thread exit
2018-12-04T15:36:37Z [default wallet] AddToWallet 2d62f39b1cce947763657af22559f07f348b53d853fe4706ec1240b1567124f2 
2018-12-04T15:36:38Z scheduler thread interrupt
2018-12-04T15:36:38Z Fatal LevelDB error: IO error: F:\Bitcoin\Bitcoin1\chainstate\001736.ldb: Data error (cyclic redundancy check).

2018-12-04T15:36:38Z You can use -debug=leveldb to get more complete diagnostic messages
2018-12-04T15:36:38Z *** System error while flushing: Fatal LevelDB error: IO error: F:\Bitcoin\Bitcoin1\chainstate\001736.ldb: Data error (cyclic redundancy check).

2018-12-04T15:36:42Z FlushStateToDisk: failed to flush state (System error while flushing: Fatal LevelDB error: IO error: F:\Bitcoin\Bitcoin1\chainstate\001736.ldb: Data error (cyclic redundancy check).

 (code 0))
2018-12-04T15:36:42Z Fatal LevelDB error: IO error: F:\Bitcoin\Bitcoin1\chainstate\001736.ldb: Data error (cyclic redundancy check).

2018-12-04T15:36:42Z You can use -debug=leveldb to get more complete diagnostic messages
2018-12-04T15:36:42Z *** System error while flushing: Fatal LevelDB error: IO error: F:\Bitcoin\Bitcoin1\chainstate\001736.ldb: Data error (cyclic redundancy check).

2018-12-04T15:36:43Z FlushStateToDisk: failed to flush state (System error while flushing: Fatal LevelDB error: IO error: F:\Bitcoin\Bitcoin1\chainstate\001736.ldb: Data error (cyclic redundancy check).

 (code 0))
2018-12-04T15:36:46Z [default wallet] Releasing wallet
2018-12-04T15:36:46Z Shutdown: done
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!