Bitcoin Forum
May 27, 2019, 12:51:38 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running Bitcoin Core on External Hard Drive  (Read 96 times)
assetdiversification
Newbie
*
Offline Offline

Activity: 6
Merit: 5


View Profile
March 08, 2019, 11:18:20 AM
Merited by bones261 (2), LoyceV (2), ETFbitcoin (1)
 #1

Hey guys,

Let me start by saying I'm not so technical and I might not be using all of the proper terminology, but I hope you guys can help. I want to run of full node to claim my financial sovereignty!

Onto the issue...

So, I finally bought a 2TB external hard drive to use with my MacOS. I saved Bitcoin Core to external drive it and started downloading the block chain. My speed here is quite bad, so it took around 2 days to get to 33%. Then yesterday, I accidentally unplugged the hard drive without shutting down Bitcoin Core and it started the process all over and now I'm only at 7%. Sad However, It appears that all of that data is still saved on my external drive.

Is there a way that I can continue the process from where I was previously? How can I prevent this from happening in the future? I would also like to be able to connect this external drive to my other macbook and run Bitcoin Core as well. How do I do this? When I connect it and try running bitcoin-qt on my other computer it says "Error: Cannot parse configuration file: specified data directory.... Users/LLLLLLL/LIbrary/Application Support/Bitcoin/'' does not exist..."

I did some research on my own and it seems I need to do something with the Datadir, and point it at my external hard drive so that bitcoin-qt always runs from there is my understanding? I found the Datadir in debug window on bitcoin-qt. It says /Volumes/Seagate Backup Plus Drive/bitcoin-0.17.1/Bitcoin Core

I'm unsure what to do. Hope someone can help me figure this out!!!
1558918298
Hero Member
*
Offline Offline

Posts: 1558918298

View Profile Personal Message (Offline)

Ignore
1558918298
Reply with quote  #2

1558918298
Report to moderator
1558918298
Hero Member
*
Offline Offline

Posts: 1558918298

View Profile Personal Message (Offline)

Ignore
1558918298
Reply with quote  #2

1558918298
Report to moderator
GET 25 FREE SPINS AT REGISTRATION
GET 100% BONUS ON FIRST DEPOSIT
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
LoyceV
Legendary
*
Offline Offline

Activity: 1498
Merit: 3877


Self-made Legendary outside Meta!


View Profile WWW
March 08, 2019, 11:26:27 AM
 #2

I'm not using MacOS, so my comments are not OS-specific.

What you want, is possible, but you should never unplug an external drive while it's in use. It corrupts data. If you can't prevent this from happening again, you should probably find a different solution.
Synchronizing Bitcoin Core (currently 220 GB) can easily take a few days on slow hardware, so that is to be expected when you're using an external drive.
You'll need to install Bitcoin Core on both systems, then point both configurations to the correct Datadir.
Make sure to backup your wallet.dat before funding it!

Pamoldar
Legendary
*
Offline Offline

Activity: 1134
Merit: 1236


One of the world's leading Bitcoin-powered casinos


View Profile WWW
March 08, 2019, 01:28:59 PM
Last edit: March 08, 2019, 06:28:47 PM by Pamoldar
 #3

I'm not using MacOS, so my comments are not OS-specific.
I am also not a MacOS user but I think in general OP had folder path issue when he is using it in another device.

"Error: Cannot parse configuration file: specified data directory.... Users/LLLLLLL/LIbrary/Application Support/Bitcoin/'' does not exist..."

Since the files are in your external dive your patch path should be [drive-name]:\[the_folder_path]

ETFbitcoin
Legendary
*
Offline Offline

Activity: 1652
Merit: 1770

Use SegWit and enjoy lower fees.


View Profile WWW
March 08, 2019, 07:08:45 PM
 #4

I don't use macOS, but you can add parameter which specify your blockchain directory when you start run your Bitcoin Core. Example :

Code:
bitcoinqt -datadir=/your/external/path

You also can open bitcoin.conf file (on linux it's located in .bitcoin folder on your home directory) and add this

Code:
datadir=/your/external/path

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!