Volumes and data directories
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.
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 local_directory:container_volume
See using volumes in the Docker documentation.
DataStax Enterprise (DSE)
Directory | Description |
---|---|
|
Database data |
|
DSE Analytics with Spark data |
|
DSEFS data |
|
Database logs |
|
Spark logs |
|
Custom configuration files |
Studio
Directory | Description |
---|---|
|
DataStax Studio data |