Critical Issue Downloading BTC Blockchain Need Assistance

10 replies 416 views
Posts: 8 · Reputation: 100
#1Apr 27, 2017, 10:16 AM
Using Bitcoin Core 27.1 on Linux Mint Cinnamon 22. Hardware specs: Intel Core i5-7300U CPU @ 2.60GHz (2 cores), 15.5 GiB RAM, 512.5GB HDD, plus an external Samsung T7 SSD for the Bitcoin Core setup. I ran into a serious error with the BTC core GUI when there was about 7 hours left to download the blockchain! Also, my external SSD vanished from the system, and I had to unplug it and plug it back in to make it show up again. Here's the start of my debug.log: https://pastebin.com/Zg8ZCDQ6 Just a heads-up, I'm pretty new to Linux and only somewhat familiar with IT stuff. Thanks for any help!
6 Reply Quote Share
ryan_nodeSenior Member
Posts: 202 · Reputation: 852
#2Apr 28, 2017, 02:43 AM
USB is not always reliable. The error likely occurred when the drive could no longer be reached.
2 Reply Quote Share
Posts: 8 · Reputation: 100
#3Apr 28, 2017, 04:59 AM
Thanks for the quick reply! Do I just relaunch btc core and start again then? Or could it be that I can pick up the dl where it left off? Not sure how to proceed
4 Reply Quote Share
seed_vaultFull Member
Posts: 71 · Reputation: 451
#4Apr 28, 2017, 09:35 AM
As long as the most recent block didn't get corrupted it should pick up where it left off.  If it doesn't work you can try deleting the most recent block and chainstate (.ldb) files, and it should be able to recover after that. The files are most likely in the directory paths below: /home/<USER>/.bitcoin/blocks/ /home/<USER>/.bitcoin/chainstate/
2 Reply Quote Share
Posts: 8 · Reputation: 100
#5Apr 28, 2017, 12:11 PM
Thanks very much, when I saw the word “fatal” I feared the worst. But I will try your suggested actions and report back.
3 Reply Quote Share
hodler2019Legendary
Posts: 2182 · Reputation: 12913
#6Apr 28, 2017, 06:09 PM
Follow up and let us know please.
4 Reply Quote Share
humbleledgerLegendary
Posts: 1027 · Reputation: 6554
#7Apr 29, 2017, 11:31 PM
I only recently found out there's a huge difference in cables used: I have some old external drives that already disconnect when I look at them, and I have other drives that work totally fine. But still, I wouldn't use an external disk for continuous reading and writing. If at all possible, OP should install an internal disk.
3 Reply Quote Share
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#8Apr 30, 2017, 01:35 AM
First step should be: replace the USB Cable and/or USB port. If it happened once, it may happen again. Frequent unexpected removal of your external drive could cause data corruption at some point. (LoyceV beats me to it, about the cable) It will, but if there's a corruption, Bitcoin Core will detect it and will suggest you to reindex which wont be as slow as IBD. It's a good thing that your blockchain isn't "pruned": Otherwise, a corrupted chainstate or block will require you to start from scratch.
3 Reply Quote Share
Posts: 8 · Reputation: 100
#9May 1, 2017, 10:34 PM
Thanks all for the advice. I really appreciate all your responses. I'm kind of committed at this point to the external SSD but I will make it a priority to upgrade in the future. So the problem did repeat itself a few more times (luckily there was no corruption), but i have now managed to DL the chain and BTC core is running happily at the moment. The issue may have been (bear in mind I'm no expert) that the USBC connection was letting me down thanks to the UAS protocol... because when I switched to a old style USB connection the rest of the DL went fine and my node is running fine at the moment. I wonder if the heightened demand of the DL also played a part? Suffice to say that using an external drive may be more trouble than its worth.
1 Reply Quote Share
paul2017Senior Member
Posts: 218 · Reputation: 1426
#10May 2, 2017, 12:18 AM
Another possibility is insufficient power. As an example, I learned the hard way that a RPi 4 is not able to power 2 Samsung T7s. To fix the problem, I had to get a powered USB hub.
3 Reply Quote Share
humbleledgerLegendary
Posts: 1027 · Reputation: 6554
#11May 2, 2017, 06:20 AM
USB sometimes just doesn't make sense: I have old HDD cases that have a very hard time getting the disk spinning, and when I put the same disk in a new case it works just fine (on the same USB port's power). I've used external drives when dealing with Fork claiming. Let me put it this way: I'd rather prune the blockchain than running it from an external disk long-term.
0 Reply Quote Share
?Reply
Sign in to reply to this topic

Related topics