How to move a wallet's blockchain data to another disk

This is about Ethereum Mist Wallet, but could be useful for any other blockchain full node wallets .

Ethereum blockchain is increasing fast and today my macbook's hdd got almost full. For Mist there's no option to specify which disk to use, so after googling a lot I figured out how to solve it and thought it could be useful to share with others.

  1. Create a folder to the target hdd, let's say Library where we'll move our data.
  2. Open Terminal app.
  3. Type cp -rpv ~/Library/Ethereum/chaindata and the destination directory (you can copy and paste to the terminal or just drag it there, so you'll get the full path). We're copying not moving, as in case of any troubles not to split/miss the data.
  4. You could now remove the initial directory, but better let's rename it first till we're sure everything works: mv ~/Library/Ethereum ~/Library/Ethereum_.
  5. Now we're making a sym-link to our new location: ln -s new_path ~/Library/Ethereum, where new_path is that path we copied or dropped in step 3.
  6. Start your Mist Wallet and check if everything is ok, if so remove the old data: rm -rf ~/Library/Ethereum_.

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now