cubefs/docs/source/tools/cfs-cli/datanode.md
setcy 491bed5e0a docs(tools): split Using CLI Tools section
Signed-off-by: setcy <2670061551@qq.com>
2023-09-14 14:17:13 +08:00

723 B

DataNode Management

List DataNodes

Get information of all dataNodes, including ID, address, read/write status, and survival status.

cfs-cli datanode list

Show DataNode Information

Show basic information of the dataNode, including status, usage, and the ID of the partition it carries.

cfs-cli datanode info [Address]

Decommission DataNode

Decommission the dataNode. The data partitions on this node will be automatically transferred to other available nodes.

cfs-cli datanode decommission [Address]

Transfer Data Partitions

Transfer the data partition on the source dataNode to the target dataNode.

cfs-cli datanode migrate [srcAddress] [dstAddress]