Bitcoin Forum
May 05, 2024, 08:08:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Moving blockchain to another hard drive?  (Read 1682 times)
halfawake (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
June 24, 2014, 08:36:01 PM
 #1

Has anyone (using Windows) moved the bitcoin-qt blockchain to another hard drive?  I'm wondering how hard it is configuration wise, since I'm planning on doing this eventually since I use Armory and having two blockchains on my computer is more than my (relatively small) hard drive can handle, but I think it's worth it for the extra options that Armory provides.

BTC: 13kJEpqhkW5MnQhWLvum7N5v8LbTAhzeWj
1714939701
Hero Member
*
Offline Offline

Posts: 1714939701

View Profile Personal Message (Offline)

Ignore
1714939701
Reply with quote  #2

1714939701
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714939701
Hero Member
*
Offline Offline

Posts: 1714939701

View Profile Personal Message (Offline)

Ignore
1714939701
Reply with quote  #2

1714939701
Report to moderator
1714939701
Hero Member
*
Offline Offline

Posts: 1714939701

View Profile Personal Message (Offline)

Ignore
1714939701
Reply with quote  #2

1714939701
Report to moderator
1714939701
Hero Member
*
Offline Offline

Posts: 1714939701

View Profile Personal Message (Offline)

Ignore
1714939701
Reply with quote  #2

1714939701
Report to moderator
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
June 25, 2014, 01:31:32 AM
 #2

bitcoin-qt -datadir=yourlocation

or create a symbolic link from the default data directory to the other hard drive.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
June 25, 2014, 01:48:32 AM
 #3

Using -datadir and moving the files is good if the other hard drive is secure and trustworthy, as it moves everything including your wallet file to the target location.

I personally used added symlinks for just the block and chainstate folders, because I don't completely trust the reliability of the drive I'm storing it on and I'd rather not take the chance of it failing with my wallet on it, however small that may be (yes, I have backups, but still). Adding symbolic links is slightly more involved (unless you've used the command line before, in which case it's just as easy) than editing your bitcoin-qt shortcut though, so unless you have a particular reason to I'd recommend just moving the entire data directory with -datadir.

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


https://gliph.me/hUF


View Profile
June 25, 2014, 02:16:51 AM
 #4


IIRC Armory and QT use the same blockchain data.

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
halfawake (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
June 25, 2014, 03:21:41 AM
 #5

bitcoin-qt -datadir=yourlocation

or create a symbolic link from the default data directory to the other hard drive.

Oh, awesome, so it's pretty easy then.  That's good to know.



IIRC Armory and QT use the same blockchain data.

Not anymore, since 0.8.7 Armory has had the Blockchain totally separate.  I believe Armory still requires an install of bitcoin-qt be running, but it has it's own version of the blockchain now.  It's a bit out of date on my computer because I haven't run Armory in a few weeks, but there's definitely a copy of an (old version) of the blockchain.  It's in C:\Users\[UserName]\AppData\Roaming\Armory\databases if you're using Windows, essentially the same location that bitcoin-qt stores its blockchain.  It's a tradeoff Armory makes between hard drive space and RAM, it used to require 6+ GB of RAM to use, now it just requires O(2N) of the blockchain to use, where N is the size of the blockchain.

BTC: 13kJEpqhkW5MnQhWLvum7N5v8LbTAhzeWj
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!