Volumes and data directories
List of exposed volumes so that underlying directories can be mounted.
DataStax exposes the following volumes so that underlying directories can be mounted. If these volumes are not mounted, then sub-directories will be unavailable. For example, by mounting the /var/lib/cassandra directory, the /data, /commit_logs, /saved_caches directories will be available.
Tip: To persist data, create the directories on the local host, and then map the
local directory to the corresponding volume using the
docker run -v
flag:docker run -v local_directory:container_volume
See using volumes in the Docker documentation.
DataStax Enterprise (DSE)
Directory | Description |
---|---|
/var/lib/cassandra |
Database data |
/var/lib/spark |
DSE Analytics with Spark data |
/var/lib/dsefs |
DSEFS data |
/var/log/cassandra |
Database logs |
/var/log/spark |
Spark logs |
/config |
Custom configuration files |
Studio
Directory | Description |
---|---|
/var/lib/datastax-studio |
DataStax Studio data |