IBM Support

How to expand PVC (persistentvolumeclaims)

General Page

Steps to expand PVC when you get a PersistentVolumeUsageCritical warning
When working with OpenShift, users may occasionally exhaust the available PersistentVolume storage capacity. Users have full admin permissions in OpenShift and it is their responsibility to monitor and expand their PVC as needed.

Steps to Expand a PVC
1. Go to Home, click on Overview, and review the cluster status to identify any PVCs with critical alerts/warnings.
ClusterHomepage
2. Navigate to Storage, click on Persistent Volume Claims, and search for the PVC in question.
PVC search
3. Click on the three ellipses next to the PVC and select Expand PVC
exapndpvc
4. Select Total size required and click Expand
expandsize
5. The PVC size will be increased, and the error condition should resolve on its own.
Please note: PVCs can't be expanded if pods are still using them. In this case, the pods have to be restarted after PVC expansion.
Find pods by PVC name (e.g. c-db2oltp-1758595529660888-share)
oc get pods --all-namespaces -o=json | jq -c '.items[] | {name: .metadata.name, namespace: .metadata.namespace, claimName: .spec | select( has ("volumes") ).volumes[] | select( has ("persistentVolumeClaim") ).persistentVolumeClaim.claimName }' | grep c-db2oltp-1758595529660888-share

[{"Type":"MASTER","Line of Business":{"code":"","label":""},"Business Unit":{"code":"","label":""},"Product":{"code":"SSNR6KN","label":"IBM Technology Zone"},"ARM Category":[{"code":"a8mKe000000XZQoIAO","label":"Infrastructure-\u003EOCPv"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":""}]

Document Information

Modified date:
15 October 2025

UID

ibm17248052