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 Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
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 Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
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 Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
You can update the topology file by deleting the cluster and reload the topology file.