Bitcoin Forum

Bitcoin => Armory => Topic started by: soulmancan on May 26, 2019, 12:41:01 PM



Title: External drives on Mac
Post by: soulmancan on May 26, 2019, 12:41:01 PM
Hi guys, I have installed bitcoin core and Armory on my Mac, Bitcoin and Armory both open, I cannot however point Armory to my external hard drives which is where all my data is stored, they simply are not an option to pick form the drop down boxes when trying to select "Bitcoin Home Directory" & "Armory Database Dir" in my preferences...

Can anyone tell me how i achieve this... I can see the external drives everywhere else on the computer....

Thanks again in advance...


Title: Re: External drives on Mac
Post by: PhoenixFire on May 26, 2019, 06:46:44 PM
You should be able to manually type in the path to the external drive for those options, rather than use the dropdown.
I'm not familiar with how Mac mounts these things, but a quick search suggests under /Volumes/your-drive ?
Fair warning external drives aren't ideal. If it is only USB2 capable you're probably in for a hellish experience  :(


Title: Re: External drives on Mac
Post by: HCP on May 26, 2019, 11:46:54 PM
Failing that, you can always just specify the appropriate directories in the armoryqt.conf and armorydb.conf files.

Refer to the Armory "Pathing" docs for more info: https://btcarmory.com/docs/pathing


Title: Re: External drives on Mac
Post by: droark on May 27, 2019, 04:01:46 AM
You'll need to go to the command line, go into the Armory directory, and manually start Armory. Here's an example. It assumes Armory is in /Applications, and that /Applications/Armory.app/Contents/MacOS is your terminal's working directory.

Code:
./Armory --datadir=/Volumes/ExtDriveName/ArmoryDataLocation --satoshi-datadir=/Volumes/ExtDriveName/BitcoinCoreDataLocation

There are ways to automate this but focus on getting this to run manually for now. ExtDriveName is actually whatever your drive is called, and ArmoryDataLocation and BitcoinCoreDataLocation are the directories where the respective data resides.


Title: Re: External drives on Mac
Post by: soulmancan on June 04, 2019, 11:20:52 PM
Thanks All, and sorry for my lack of replies, I have been away on other business but am going to have another shot at this tonight... I'll come back with any other questions after that (hopefully none)


Title: Re: External drives on Mac
Post by: soulmancan on June 11, 2019, 09:36:59 AM
Hi guys, thanks for the help, I think i have come to the conclusion that this is all a little beyond me. I have tried for hours on end to get this thing to work with no luck.... I can't for the life of me figure what i am missing but it seems the mac does complicate things somewhat. Although i have also tried on it 2 other windows platforms with no joy...

Anyway thanks again for the attempt at helping the helpless :)


Title: Re: External drives on Mac
Post by: bob123 on June 12, 2019, 06:56:30 AM
Did you already found out where your external drive is mounted ? What is the path to your external drive ?

Search for the bitcoin folder on your hard drive and copy this exact path into the armory settings (bitcoin home directory).


If this does not work, do what HCP said, and copy the path into the armoryqt.conf file (inside of the armory directory):
Code:
satoshi-datadir="/path/to/core/blockchain/"


If you somehow run into trouble, try to explain what exactly doesn't work as intended.


Title: Re: External drives on Mac
Post by: soulmancan on June 18, 2019, 12:09:29 AM
Hi guys, I will try this again when i get home. I think my biggest issue is i don't know how to work around command prompts or terminal in Mac and windows... I have always used windows and am used to the simplified versions. i.e selecting the folders in the preferences...

I will try and work this config file option tonight.. I know where all my bits and pieces are i just don't seem to be able to get Amory to point to them correctly...

Stand by for an update....

And as always thanks for the assistance....


Title: Re: External drives on Mac
Post by: bob123 on June 18, 2019, 07:45:10 AM
You don't really need to use the command prompt.

You can simply navigate to the armory folder and open the config file (it is a text file, so open it with your preferred text editor). If it doesn't exist yet, create it (called armoryqt.conf).

Then simply enter 1 line (satoshi-dir) into this text file containing the path to the blockchain folder as mentioned in previous replies.