Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Archive > Implementation Guide—Red Hat OpenShift Container Platform 4.6 on Dell Infrastructure > Red Hat OpenShift Data Foundation storage
Red Hat provides OpenShift Data Foundation (formerly known as OpenShift Container Storage) as a method to provide persistent storage to applications that are consuming either compute node local devices or dynamically provisioned storage through a standard OpenShift Container Platform cluster storage class.
Note: At the time of publication, some Red Hat documentation, including the operator and product interface, may still reference OpenShift Container Storage, the former product name for OpenShift Data Foundation storage.
Ensure that:
Project openshift-storage is created automatically. Installed operators are listed under Operators > Installed Operators.
[core@csah-pri ocs]$ oc get pod -n openshift-storage
NAME READY STATUS RESTARTS AGE
noobaa-operator-77df57dc5f-tvl7f 1/1 Running 0 61s
ocs-metrics-exporter-7475ddb76d-trhdz 1/1 Running 0 61s
ocs-operator-567557659-c2m57 1/1 Running 0 62s
rook-ceph-operator-56c596ccb5-zlzf9 1/1 Running 0 62s
Project openshift-local-storage is created automatically. Installed operators are listed under Operators -> Installed Operators.
[core@csah-pri ocs]$ oc get pods -n openshift-local-storage
NAME READY STATUS RESTARTS AGE
local-storage-operator-799f9bf4dd-v4nrk 1/1 Running 0 24s
Connect to the OpenShift console by following the steps in Accessing the OpenShift web consoleAccessing the OpenShift web console. Then:
Note: In our deployment, we used only NVMe drives and set the size from 1,400 GB to 1,600 GB.
[core@csah-pri ocs]$ oc get sc | grep <storage class name>
Note: The ocs-storagecluster-ceph-rbd, ocs-storagecluster-ceph-rgw, and ocs-storagecluster-cephfs storage classes are created by default.
[core@csah-pri ocs]$ oc get pods -n openshift-storage
[core@csah-pri ocs]$ oc get pods -n openshift-local-storage
The following steps create a PVC by using ocs-storagecluster-cephfs and ocs-storagecluster-ceph-rbdL:
[core@csah-pri ~]$ oc create -f <YAML file>
[core@csah-pri ocs]$ oc get pvc -n ocs
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
ocsfspvc Bound pvc-44d3a805-0e6b-48b1-a8d6-0ab6c56e1975 10Gi RWX ocs-storagecluster-cephfs 29s
[core@csah-pri ~]$ oc create -f <YAML file>
Validate that the pod is created and the volume is attached:
[core@csah-pri ocs]$ oc exec -it -n ocs ocsfspod -- df -h /usr/share/nginx/html
Filesystem Size Used Avail Use% Mounted on
172.30.64.242:6789,172.30.152.143:6789,172.30.10.82:6789:/volumes/csi/csi-vol-5799b028-4e0f-11eb-b2ab-0a580a8003a8/1021f0b6-5b98-4d33-81e6-cdcecd668345 10G 0 10G 0% /usr/share/nginx/html
[core@csah-pri ~]$ oc create -f <YAML file>
[core@csah-pri ocs]$ oc get pvc ocsrbdpvc -n ocs
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
ocsrbdpvc Bound pvc-7742925d-8ecb-4d49-8b4b-00313d8d7c85 10Gi RWO ocs-storagecluster-ceph-rbd 27s
[core@csah-pri ~]$ oc create -f <YAML file>
[core@csah-pri ocs]$ oc exec -it ocsrbdpod -n ocs -- df -h /usr/share/nginx/html
Filesystem Size Used Avail Use% Mounted on /dev/rbd1 9.8G 37M 9.8G 1% /usr/share/nginx/html