This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.此内容没有您所选择的语言版本。
7.2. Reducing Storage Capacity
Heketi also supports the reduction of storage capacity. You can reduce storage by deleting devices, nodes, and clusters. These requests can only be performed by using the Heketi CLI or from the command line API. For information on using command link API, see Heketi API https://github.com/heketi/heketi/wiki/API.
7.2.1. Deleting Devices 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
You can update the topology file by deleting the devices listed in the topolgy file.
For example, in the topology file,
/dev/sde
drive is deleted from the node:
In the file:
Load the topology file:
7.2.2. Deleting Nodes 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
You can update the topology file by deleting the node listed in the file.
For example, in the topology file, delete the node and reload the topology file:
In this example, node 192.168.10.103 on cluster d6f2c22f2757bf67b1486d868dcb7794 is deleted.
7.2.3. Deleting Clusters 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
You can update the topology file by deleting the cluster and reload the topology file.