Disk Replacement

Learn how to replace a disk.

In case of a disk failure, a Kafka administrator can replace the faulty disk with a new one.
  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. Replace the disk.
  3. Mount the disk.
  4. Set up the directory structure on the new disk the same way as it was set up on the previous disk.
  5. Start the broker:
    1. In Cloudera Manager go to the Kafka service, selectInstances and select the broker.
    2. Go to Actions > Start this Kafka Broker.
The disk is replaced. The Kafka broker re-creates topic partitions in the same directory by replicating data from other brokers.