About this task
You can create additional data pools for the Ceph file system.
Procedure
-
In the provider storage cluster CR, add additional data pools under
spec.managedResources
Ceph Filesystems: For example:
additionalDataPools:
- name: add-pool
application: ""
erasureCoded:
codingChunks: 0
dataChunks: 0
mirroring: {}
quotas: {}
replicated:
size: 0
statusCheck:
mirror: {}
- In the client storage cluster CR, edit the
storageProfile
to use the
additional data pool that is created in the provider cluster.
For example:
apiVersion: ocs.openshift.io/v1alpha1
kind: StorageClaim
metadata:
name: claim-t3
spec:
storageClient: ocs-storagecluster
storageProfile: add-pool
type: sharedfile
This creates a new set of storage classes with the new additional data pool and when the
applications use these storage classes, the block pool is used to store the data on the newly
configured device.
- To verify that the new storage classes are created, perform the following steps:
- Click Storage → StorageClasses.
- Verify that a new storage class with the same name as the storage claim is
created.