<p>I recommend reading about the <a href="https://en.bitcoin.it/wiki/Data_directory" rel="nofollow noreferrer">Bitcoin Data Directory</a>.  You should also take a look at this answer:  <a href="https://bitcoin.stackexchange.com/questions/10551/how-do-i-specify-in-which-directory-bitcoin-blocks-and-other-data-should-be-stor">How do I specify in which directory Bitcoin blocks and other data should be stored?</a></p>

<p>Basically, all your Bitcoin data is stored in <code>~/.bitcoin</code> on Linux.  Not only can you specify a different location for this directory using <code>-datadir=/some/other/directory</code>, but you could also symlink <code>~/.bitcoin</code> to some other directory on a secondary disk or network share, like this:</p>

<p><code>ln -s /some/other/directory ~/.bitcoin</code></p>

<p>However, from personal experience, I would suggest not using a network share.</p>

CC BY-SA 3.0
2016-04-06T17:50:47.127Z
2016-04-06T17:50:47.127Z
2017-04-13T12:47:33.743Z
Jestin
<p>I am a rather new Bitcoin user, running bitcoin-qt on Linux.  However, due to limited disk space, the application is taking up too much of my drive.  I'm guessing this is due to the ever-expanding blockchain?  So, I was wondering if there is a way to relocate the data from bitcoin-qt to elsewhere.  I have another drive connected to my computer that I could put it on, but I do not know how to safely relocate it.  Thanks for taking a look!</p>

<bitcoin-core><linux><bitcoin-qt-setup><storage-footprint>
How do I relocate my bitcoin data in bitcoin-qt to save space?
Paradox
# How do I relocate my bitcoin data in bitcoin-qt to save space?

(Asked by: username_0 on 2016-04-06)

I am a rather new Bitcoin user, running bitcoin-qt on Linux. However, due to limited disk space, the application is taking up too much of my drive. I'm guessing this is due to the ever-expanding blockchain? So, I was wondering if there is a way to relocate the data from bitcoin-qt to elsewhere. I have another drive connected to my computer that I could put it on, but I do not know how to safely relocate it. Thanks for taking a look!

**Tags:** bitcoin-core, linux, bitcoin-qt-setup, storage-footprint


---

## 1 answers

### Answer by username_1 on 2016-04-06. Score: 3 | Accepted answer

I recommend reading about the [Bitcoin Data Directory](https://en.bitcoin.it/wiki/Data_directory). You should also take a look at this answer: [How do I specify in which directory Bitcoin blocks and other data should be stored?](https://bitcoin.stackexchange.com/questions/10551/how-do-i-specify-in-which-directory-bitcoin-blocks-and-other-data-should-be-stor)

Basically, all your Bitcoin data is stored in `~/.bitcoin` on Linux. Not only can you specify a different location for this directory using `-datadir=/some/other/directory`, but you could also symlink `~/.bitcoin` to some other directory on a secondary disk or network share, like this:

`ln -s /some/other/directory ~/.bitcoin`

However, from personal experience, I would suggest not using a network share.


---

