3

I have a small laptop that I basically use for nothing but my Ethereum wallet, using Mist. I'm running out of space, so I added a 64gb SD card and I'd like to keep Mist running on the laptop but store the blockchain data to the SD card.

I followed instructions for making that change in Geth via terminal - designating --datadir to the directory of the SD card - but it doesn't seem to make any difference when I open Mist. The entries in the chaindata folder on my laptop's storage keep expanding and nothing appears on the SD card. Does anyone know how to do this?

niksmac
  • 9,673
  • 2
  • 40
  • 72
Ethcurious
  • 41
  • 1
  • 4

3 Answers3

2

Mist has the data directory hard coded.

If you want to run geth directly, you can use --datadir. You might also use a symbolic link.

Not much more to say on this other than submit an issue on the Mist project if you'd like to see this changed.

linagee
  • 6,138
  • 27
  • 32
  • Oh, Ok. Well that settles that then. Thanks for the response! I've still got about 5gb of headroom, so hopefully a change is implemented before I run out, or worst case scenario I'll have to set up a wallet on another computer. In the meantime, I will submit a pull request as you suggest. – Ethcurious Mar 06 '16 at 21:25
  • @Ethcurious had a brain fart, pull/issue. – linagee Mar 07 '16 at 00:51
1

Not tried this myself but how about creating a Symbolic Link to the chain data directory. e.g. something like

ln -s /sdcard/chaindata usr/library/ethereum/chaindata
JackWinters
  • 3,413
  • 2
  • 17
  • 29
0

On windows you can run mist with --node-datadir="path/to/datadir" option to specify your data directory

Arijoon
  • 143
  • 5