Provisioning a cStor pool
This feature is supported for OpenEBS versions >= 1.10.0 , OpenEBS can either be installed using Director or can be done manually. If OpenEBS is installed manually, ensure that the CSPC operator is installed.
CSPC is a new schema for cStor pool provisioning that refactors the code to make the cStor a completely pluggable engine into OpenEBS. The new schema also makes it easy to perform day 2 operations on cStor pools.
On the left sidebar click on Storage Pools under Management and then click on create new pool.
- Provide a name for your CSPC and select the RAID type. A set of recommendations will be displayed grouped-by device-type and node-names. While specifying these, the following things should be taken into consideration
- While selecting the CSPC type please note RaidZ and RaidZ2 supports only the default configuration, i.e, 2+1 for RaidZ and 4+2 for RaidZ2.
- The number of nodes to be selected for the pool depends upon the required replication factor, i.e if the number of replicas needed are three, then choose three nodes for the pool.
If the block devices are attached to the nodes but are still not present in recommendations please check our troubleshooting document.
- Select the device-type from the drop-down to view the node-based recommendations for that type.
NOTE:Only raw, unformatted and unclaimed devices are considered for displaying recommendations.
While selecting nodes you can also view the set of disks that are grouped or ungrouped. Select the nodes and click on Generate cluster config.
This generates a summary of the choices that had been selected and an autogenerated YAML based on the previous selections.
Click on Create. Creation of StoragePools might take few minutes. Once created, they can be viewed from View Created Pool button at bottom right corner of the screen.
The list of pools and the associated details can be viewed from Storage Pool under Managment section present in the left sidebar.
The created cStor pool can be used to provision an application, this involves few manual steps. To know the steps click here.
Note: The pool that needs to be deprovisioned, should not have any volumes associated to it.
Select Storage Pools under Management from the left sidebar. Next, click on the icon corresponding to the pool that is to be deleted.