6

I'm running a node and my existing hard drive is running out of space. If I install a new hard drive, how do I move or point the node data to use my new hard drive instead?

5

You have 3 ways to do this

1) create a symlink from the previous location to the new location of the data directory. This way no change to your workflow is necessary

2) alternatively you can use the option -d of the tezos node to point to the new data directory location

3) as suggested in the comments you can also mount the new disk at the old point after having synced all the data if your goal is to litterally swap disks and not keep the old one mounted at the old location.

For more details you can consult the official doc

http://tezos.gitlab.io/mainnet/api/cli-commands.html

  • Indeed, ./tezos-node run --help shows us --data-dir=DIR The directory where the Tezos node will store all its data. Resulting in a command like: ./tezos-node run --rpc-addr 127.0.0.1 --data-dir /<NEW DIR>/.tezos-node – Mootjes mootjes Jul 27 at 9:15

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.