<p>Bitcoind requires your wallet file to be in the same location as the rest of the files, so I think what you want to do will be difficult, as it might require editing the source/recompiling</p>

<p>However, you can just store your wallet on the external drive too. </p>

<p>You can encrypt the wallet if you don't want it to fall in the wrong hands</p>

<p>You can use the backupwallet command to back it up if you are affraid of the quality of your external drive...</p>

CC BY-SA 3.0
2016-02-05T16:50:57.833Z
2016-02-05T16:50:57.833Z
Peter
<p>I have a new-ish powerful laptop with SSD, limited to 128GB.
It came with a RAID which somehow didn't work for installing linux, so I had to disable the RAID and now I have actually two 64GB disks really.</p>

<p>That's just not enough to run the bitcoin client on it, the arch linux wiki recommends 80GB of disk space, and even ignoring that rather generous amount, it would fill up my disk.</p>

<p>Is it possible to run the client with a local wallet and all that but having the bitcoin DB on an external drive? </p>

CC BY-SA 3.0
2017-01-23T16:15:44.043Z
Put the `chainstate` directory on the SSD and everything else on the (slower) HD; cf. [this comment](https://bitcoin.stackexchange.com/questions/48617/how-to-speed-up-initial-block-chain-sync-using-ssd-without-wasting-space/48618#comment56388_48618).
Geremia
<blockchain><database>
storing bitcoin's database directory on an external drive?
unsafe_where_true
# storing bitcoin's database directory on an external drive?

(Asked by: username_0 on 2016-02-05)

I have a new-ish powerful laptop with SSD, limited to 128GB.
It came with a RAID which somehow didn't work for installing linux, so I had to disable the RAID and now I have actually two 64GB disks really.

That's just not enough to run the bitcoin client on it, the arch linux wiki recommends 80GB of disk space, and even ignoring that rather generous amount, it would fill up my disk.

Is it possible to run the client with a local wallet and all that but having the bitcoin DB on an external drive?

**Tags:** blockchain, database

> **Comments:**
> **username_1**: Put the `chainstate` directory on the SSD and everything else on the (slower) HD; cf. [this comment](https://bitcoin.stackexchange.com/questions/48617/how-to-speed-up-initial-block-chain-sync-using-ssd-without-wasting-space/48618#comment56388_48618).  

---

## 1 answers

### Answer by username_2 on 2016-02-05. Score: 1 | Accepted answer

Bitcoind requires your wallet file to be in the same location as the rest of the files, so I think what you want to do will be difficult, as it might require editing the source/recompiling

However, you can just store your wallet on the external drive too.

You can encrypt the wallet if you don't want it to fall in the wrong hands

You can use the backupwallet command to back it up if you are affraid of the quality of your external drive...


---

