I have bitcoin-qt installed on my Ubuntu box which has an SSD as the main OS drive.

I understand that bitcoin-qt is a full client/node and uses a lot of disk activity, which is why I want it off my expensive SSD and want it on my cheaper HDD. How do I move the client so all the node checking work it does which is disk intensive is done on the secondary HDD instead of the primary SSD?

I have Ubuntu 12.04 installed.


I just edited the file:

/usr/share/applications$ sudo gedit bitcoin-qt.desktop

and changed:

Exec=/usr/bin/bitcoin-qt %u


Exec=/usr/bin/bitcoin-qt -datadir=/new_location/.bitcoin %u

I have just tried loading bitcoin-qt and it currently says Rescanning.

Have I made the changes correctly? It's been scanning for 5 minutes now...

  • That looks correct. Bitcoin-Qt will verify blocks when it starts and this can take several minutes. The rescan message says it is looking for missing transactions, which I don't think it normally does unless you import a new private key. – ScripterRon Dec 8 '13 at 22:03

Use the -datadir option to specify a new location for the bitcoin data directory. Copy the existing bitcoin data directory to the new location and then restart bitcoin-qt. Check here for information on locating the default data directory.

  • Please see update to original question. – oshirowanen Dec 8 '13 at 21:53
  • Took about 12 hours to complete and I had to reinstall bitcoin-qt in the end to get it all to work again... – oshirowanen Dec 9 '13 at 19:21

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.