Expanding Persistent Volume Claims

Fusion Data Foundation has the ability to expand Persistent Volume Claims providing more flexibility in the management of persistent storage resources.

About this task

Expansion is supported for the following Persistent Volumes:
  • PVC with ReadWriteOnce (RWO) and ReadWriteMany (RWX) access that is based on Ceph File System (CephFS) for volume mode Filesystem.
  • PVC with ReadWriteOnce (RWO) access that is based on Ceph RADOS Block Devices (RBDs) with volume mode Filesystem.
  • PVC with ReadWriteOnce (RWO) access that is based on Ceph RADOS Block Devices (RBDs) with volume mode Block.
  • PVC with ReadWriteOncePod (RWOP) that is based on Ceph File System (CephFS) or Network File System (NFS) for volume mode Filesystem.
  • PVC with ReadWriteOncePod (RWOP) access that is based on Ceph RADOS Block Devices (RBDs) with volume mode Filesystem. With RWOP access mode, you mount the volume as read-write by a single pod on a single node.
Important: The ReadWriteOncePod (RWOP) access mode is a Technology Preview feature. IBM does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
Note: PVC expansion is not supported for OSD, MON and encrypted PVCs.

Before you begin

Be sure you have Administrator access to OpenShift Web Console.

Procedure

  1. From the OpenShift Web Console, go to Storage > Persistent Volume Cliams.
  2. From the Persistent Volume Claim that you want to expand, go to Action Menu > Expand PVC.
    Figure 1. Expand PVC
    Persistent Volume Claims Expand PVC menu item
  3. Select the new size of the Persistent Volume Claim, then click Expand.
    Figure 2. Expand Persistent Volume Claim form
    Expand Persistent Volume Claim wizard
  4. To verify the expansion, navigate to the PVC’s details page and verify the Capacity field has the correct size requested.
    Note: When expanding PVCs based on Ceph RADOS Block Devices (RBDs), if the PVC is not already attached to a pod the Condition type is FileSystemResizePending in the PVC’s details page. Once the volume is mounted, filesystem resize succeeds and the new size is reflected in the Capacity field.