Migrate a CephFS PVC to a CephRBD (CephBlockPool) PVC - OpenShift Data Foundation (ODF)

Solution Verified - Updated -

Issue

In some instances, it may be necessary to migrate PVCs using the cephfs storageclass to ceph-rbd. There are certain scenarios where this could be true, but the highlighted scenario for this solution will be OCS / ODF Database Workloads Must Not Use CephFS PVs/PVCs (RDBMSs, NoSQL, PostgreSQL, Mongo DBs, etc.).

This particular issue is not specific to Ceph. Database workloads should be stored on block storage as shown in the OpenShift Container Platform Docuemtation as well:

"Databases: Databases (RDBMSs, NoSQL DBs, etc.) tend to perform best with dedicated block storage," not a shared filesystem.

OCP v4.18 - Other specific application storage recommendations

Environment

Red Hat OpenShift Container Storage (RHOCS) 4.x
Red Hat OpenShift Data Foundations (RHODF) 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content