What is default path where coachroachdb stores data

Starting to set up and test coachroachdb. It appears the /cockroach-data directory is where it stores data on disk. The default directory location appears to be where you start the node, i.e. /disk1/cockroachdb. Is there a config file where you can change this location from default?


Hey Stuart,

Here’s a link to the cockroach start flags.

You can change the default store and the logging directory via the flags.

Let me know if you have other questions.


Hi Matt: Ahh great, I see flags and usage/examples. Thanks!!

No problem, happy to help!