3

I am using the Bitcoin-Qt application on Ubuntu, but the blockchain is very large and is wasting space on my SSD drive. Is there a way that I can move it to a hard disk drive?

There doesn't seem to be a setting for this. Is it possible?

3

First close your client down and then copy the .bitcoin folder that was created in your home directory to the new location where you wish to store the data. Second create a symbolic link using the new path:

ln -s /new/path/to/.bitcoin .bitcoin

Finally restart the bitcoin client and it will use the blockchain stored at /new/path/to/.bitcoin (or wherever you put it)

  • That dident work bitcoin qt just made a new .bitcoin folder in the home directory – Qwertie Dec 29 '13 at 5:39
  • you need to make sure you execute the command in the home directory and if you run ls -alF you should see the file as a link with an arrow pointing to the new location.... also be sure you use mv -r .bitcoin /new/path/to/.bitcoin to ensure all the files get moved appropriately – Mark S. Dec 29 '13 at 5:41
  • or once you move the .bitcoin folder launch bitcoin-qt with -datadir=/new/path/to/.bitcoin – Mark S. Dec 29 '13 at 5:42
  • I did this with the file explore GUI and it works fine now – Qwertie Dec 29 '13 at 5:45
  • Finally !! Thanks a lot for the symbolic link tip, I couldn't understand why the -datadir command doesnt appear in the debug window of the software, I could eventually manage to store the blockchain on a specific partition with your help :) – user13767 Feb 22 '14 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.