Disabling DSEFS
Procedure
To disable DSEFS and remove metadata and data:
-
Remove all directories and files from the DSEFS file system:
dse fs rm -r <filepath>
-
Wait a while for all nodes to perform the delete operations.
-
Verify that all DSEFS data directories where the file data blocks are stored locally on each node are empty.
These data directories are configured in
dse.yaml
. Your directories are probably different from this defaultdata_directories
value:data_directories: - dir: /var/lib/dsefs/data
-
Disable the DSEFS entries in all
dse.yaml
files on all nodes. -
Restart DataStax Enterprise.
-
Truncate all of the tables in the
dsefs
keyspace.Do not remove the
dsefs
keyspace. If you inadvertently removed thedsefs
keyspace, you must specify a different keyspace name indse.yaml
or create an emptydsefs
keyspace (this emptydsefs
keyspace will be populated with tables during DSEFS start up).Do not delete the
data_directories
before removing thedsefs
keyspace tables, or removing the node from the cluster.