Replacing Disks on Datanode Hosts
Below are steps to replace disk in slave nodes or to perform maintenance of slave nodes servers.
1. Decommission the Datanode and all services running on it (i.e. NodeManager, HBase RegionServer, Datanode etc). Refer below docs for the same.
2. Replace the disks or perform any other tasks for server maintenance.
3. Recommission the node.
4. Start all services components on the node.
5. Run Fsck utility for HDFS to ensure that HDFS is in healthy state. FSCK reports usually show a few over replicated blocks after a datanode is recommissioned which would automatically be fixed over time.

