Clear data from Hyper-Converged Database (HCD)

Use these commands if you need to remove all data from a Hyper-Converged Database (HCD) installation.

These commands target the default directories. If you changed your installation’s directories, you must target those paths directly.

Package installation
  1. Stop the HCD service.

  2. Run the following command to clear the data from the default directories:

    sudo rm -rf /var/lib/cassandra/*
Tarball installation
  1. Stop the HCD process.

  2. Change to the directory where you installed HCD:

    cd INSTALL_DIRECTORY
  3. Run the following command to clear the data from the default directories:

    sudo rm -rf data/* commitlog/* saved_caches/* hints/*

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | Privacy policy | Terms of use Manage Privacy Choices

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: Contact IBM