Creating additional data pools

Before you begin

  • Fusion Data Foundation operator is installed and OpenShift Data Foundation storage cluster in provider mode is created.

About this task

You can create additional data pools for the Ceph file system.

Procedure

  1. 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: {}
  2. 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.

  3. To verify that the new storage classes are created, perform the following steps:
    1. Click StorageStorageClasses.
    2. Verify that a new storage class with the same name as the storage claim is created.