4

I'm the newbie on Linux and blockhain. I'm have installed Linux on the small piece of my hard drive (50 GB), so I want to know how to change the directory for blockchain data on my external hard drive. I use Linux Mint 18.2.

4

It depends on how Parity is started. If you're starting from the command line, you can use these flags:

-d --base-path PATH     Specify the base data storage path.
--db-path PATH          Specify the database directory path
                        (default: $BASE/chains).
--keys-path PATH        Specify the path for JSON key files to be found
                        (default: $BASE/keys).

If Parity is not started from the command line, you should first figure out how to make it not start automatically (that depends on your operating system -- on Mac your remove the LaunchAgent).

There also a user_defualts file that you can search for information about. That lets you set certain startup params. I'm not sure if the path variables are in that file or not.

Before you do anything though, please make sure to backup your private keys. Do not say I didn't warn you.

  • Thanks for the answer. I don't mention that I don't finish synchronization because space at "home" directory has only 15 GB. So I do not have private keys yet. – GeoEth Sep 28 '17 at 8:20
  • Also, when I type "-d --base-path/media/pgs/My Passport/Ethereum" in a terminal, it turns "-d: command not found". Maybe I do something wrong? – GeoEth Sep 28 '17 at 8:26
  • parity -d ... – Afr Sep 28 '17 at 8:45
  • When I type "parity -d --base-path/media/pgs/My Passport/Ethereum" it turns out "Invalid arguments." – GeoEth Sep 28 '17 at 8:59
  • You can get help on parity with parity --help. I simply copied and pasted the help text, but it looks like you can use either parity -d <your_path> or parity --base-path <your_path>, but not both. Sorry I wasn't more clear. – Thomas Jay Rush Sep 28 '17 at 10:53

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.