Disabling DSEFS
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.Where is the
dse.yamlfile?The location of the
dse.yamlfile depends on the type of installation:Installation Type Location Package installations + Installer-Services installations
/etc/dse/dse.yamlTarball installations + Installer-No Services installations
<installation_location>/resources/dse/conf/dse.yamlYour directories are probably different from this default
data_directoriesvalue:data_directories: - dir: /var/lib/dsefs/data -
Disable the DSEFS entries in all
dse.yamlfiles on all nodes. -
Restart DataStax Enterprise.
-
Truncate all of the tables in the
dsefskeyspace.Do not remove the
dsefskeyspace. If you inadvertently removed thedsefskeyspace, you must specify a different keyspace name indse.yamlor create an emptydsefskeyspace (this emptydsefskeyspace is populated with tables during DSEFS start up).