Disk Removal

Learn how to remove a disk from the configuration.

In case of a disk failure, a Kafka administrator can remove the disk and redistribute data across remaining disks to restore the desired replication factor.
  1. Stop the broker that has a faulty disk:
    1. In Cloudera Manager, go to the Kafka service, select Instances and select the broker.
    2. Go to Actions > Gracefully stop this Kafka Broker.
  2. Remove the log directories on the faulty disk from the broker:
    1. Go to Configuration and find the Data Directories property.
    2. Remove the affected log directories with the Remove button.
    3. Enter a Reason for change, and then click Save Changes to commit the changes.
  3. Start the broker:
    1. In Cloudera Manager, go to the Kafka service, select Instances and select the broker.
    2. Go to Actions > Start this Kafka Broker.
The disk is removed from the configuration. The Kafka broker redistributes data across the cluster.