Bitcoin Forum
November 18, 2024, 05:04:02 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running Bitcoin Core and Armory on a Mac with blockchain data on external drive?  (Read 671 times)
pf (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 105


View Profile
January 17, 2016, 10:56:16 AM
 #1

On Mac OS X, how can I run Bitcoin Core and Armory such that both use custom folders on an external drive to store the blockchain data?

By default, everything is in ~/Library/Application Support/Bitcoin and ~/Library/Application Support/Armory

I want it to be in /Volumes/MyExternalDrive/Bitcoin and /Volumes/MyExternalDrive/Armory

How do I accomplish this?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
January 17, 2016, 03:44:30 PM
 #2

On Mac OS X, how can I run Bitcoin Core and Armory such that both use custom folders on an external drive to store the blockchain data?

By default, everything is in ~/Library/Application Support/Bitcoin and ~/Library/Application Support/Armory

I want it to be in /Volumes/MyExternalDrive/Bitcoin and /Volumes/MyExternalDrive/Armory

How do I accomplish this?
In the command for starting up Bitcoin Core, add the flag
Code:
--datadir=<path to external Bitcoin Core data folder>
and in the command for starting Armory
Code:
--datadir=<path to external armory data folder> --satoshi-datadir=<path to external Bitcoin Core data folder>

pf (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 105


View Profile
January 17, 2016, 08:52:07 PM
 #3

Thanks, that would have worked I think. But after some Googling, I went with just creating symlinks:

ln -s /Volumes/MyExternalDrive/Blockchains/Bitcoin ~/Library/Application\ Support/Bitcoin
ln -s /Volumes/MyExternalDrive/Blockchains/Armory ~/Library/Application\ Support/Armory

Works great. The same works great for Litecoin too:

ln -s /Volumes/MyExternalDrive/Blockchains/Litecoin ~/Library/Application\ Support/Litecoin
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!