Disabling DSEFS

To disable DSEFS and remove metadata and data:

  1. Remove all directories and files from the DSEFS file system:

    $ dse fs rm -r filepath
  2. Wait a while for all nodes to perform the delete operations.

  3. 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.yaml file?

    The location of the dse.yaml file depends on the type of installation:

    Installation Type Location

    Package installations + Installer-Services installations

    /etc/dse/dse.yaml

    Tarball installations + Installer-No Services installations

    <installation_location>/resources/dse/conf/dse.yaml

    Your directories are probably different from this default data_directories value:

    data_directories:
        - dir: /var/lib/dsefs/data
  4. Disable the DSEFS entries in all dse.yaml files on all nodes.

  5. Restart DataStax Enterprise.

  6. Truncate all of the tables in the dsefs keyspace.

    Do not remove the dsefs keyspace. If you inadvertently removed the dsefs keyspace, you must specify a different keyspace name in dse.yaml or create an empty dsefs keyspace (this empty dsefs keyspace is populated with tables during DSEFS start up).

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com