Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: iCan on September 17, 2014, 09:30:47 PM



Title: Mac OS, Bitcoin core and SSD! Need your HELP!
Post by: iCan on September 17, 2014, 09:30:47 PM
Hi guys!
I have little problem, I have SSD 159 GB on my Mac and lots of apps on it so 27 GB Bitcoin Q and 28 GB Armory take lots of space for me. So I want to ask if it possible to move databases on my second HDD drive (I have 2 inside) I try to make alias and name it same as sours move databases on second drive and relink it but it doesn't worked! Maybe you know how do it correctly?! Help pls!         


Title: Re: Mac OS, Bitcoin core and SSD! Need your HELP!
Post by: cr1776 on September 17, 2014, 11:36:02 PM
Hey,
Take a look at this page:

https://bitcointalk.org/index.php?topic=429695.0

I haven't tried this, but it looks like what you are trying to do.  Just need a link (e.g. ln)

:-)


Title: Re: Mac OS, Bitcoin core and SSD! Need your HELP!
Post by: Dare on September 18, 2014, 03:31:17 AM
I'm not sure what you mean by "alias", but a symbolic link is probably what you need. Close Bitcoin-Qt and Armory, move the blockchain folders wherever you want them, then run:
Code:
ln -s <destdir> <sourcedir>
<destdir> is the directory you moved the files too, and <sourcedir> is the directory where they used to be and in which Bitcoin-Qt expects them (should be ~/Library/Application Support/Bitcoin).

To regain the most space, you should link Bitcoin-Qt's "blocks" and "chainstate" directories, as the remaining files are miniscule and some are sensitive (wallet.dat). I don't know the specifics for Armory, but it's most likely very similar.


Title: Re: Mac OS, Bitcoin core and SSD! Need your HELP!
Post by: frankenmint on September 18, 2014, 04:12:56 AM
I'm not sure what you mean by "alias", but a symbolic link is probably what you need. Close Bitcoin-Qt and Armory, move the blockchain folders wherever you want them, then run:
Code:
ln -s <destdir> <sourcedir>
<destdir> is the directory you moved the files too, and <sourcedir> is the directory where they used to be and in which Bitcoin-Qt expects them (should be ~/Library/Application Support/Bitcoin).

To regain the most space, you should link Bitcoin-Qt's "blocks" and "chainstate" directories, as the remaining files are miniscule and some are sensitive (wallet.dat). I don't know the specifics for Armory, but it's most likely very similar.

armory installs and uses bitcoinQT running headless, at least that's what I have observed when using it.  (a full bitcoin node is on my pc but I never intended to use it - I think armory adds layers of backup and usability to the core qt software, which is nice)


Title: Re: Mac OS, Bitcoin core and SSD! Need your HELP!
Post by: Dare on September 18, 2014, 06:55:27 AM
I'm not sure what you mean by "alias", but a symbolic link is probably what you need. Close Bitcoin-Qt and Armory, move the blockchain folders wherever you want them, then run:
Code:
ln -s <destdir> <sourcedir>
<destdir> is the directory you moved the files too, and <sourcedir> is the directory where they used to be and in which Bitcoin-Qt expects them (should be ~/Library/Application Support/Bitcoin).

To regain the most space, you should link Bitcoin-Qt's "blocks" and "chainstate" directories, as the remaining files are miniscule and some are sensitive (wallet.dat). I don't know the specifics for Armory, but it's most likely very similar.

armory installs and uses bitcoinQT running headless, at least that's what I have observed when using it.  (a full bitcoin node is on my pc but I never intended to use it - I think armory adds layers of backup and usability to the core qt software, which is nice)

That's what I thought, as it required Bitcoin-Qt when I tried it out, but I've heard rumors of updates since then. The original poster mentioned a second 28GB of storage for Armory, so I wasn't sure if they had separated; otherwise whatever was used to check the disk usage simply counted Bitcoin-Qt's usage within Armory's. At any rate, it sounds like moving and linking only the "blocks" and "chainstate" subdirectories of Bitcoin-Qt's datadir should be sufficient to clear up the space.


Title: Re: Mac OS, Bitcoin core and SSD! Need your HELP!
Post by: Newar on September 18, 2014, 07:25:06 AM

Armory still requires bitcoind to run. It however now builds its own database of the blockchain, that's why the amount of data doubles. This was done to deal with RAM issues.


Title: Re: Mac OS, Bitcoin core and SSD! Need your HELP!
Post by: iCan on September 18, 2014, 07:34:43 AM
Thx guys! It works with Bitcoin core, and now trying to do it with Armory! Thx for your help!