Documentation
- Getting Started Configuration
- OpenID & LDAP
- Custom TLS Certificate
- Custom OS Images
- FlashStore
- Extra Files
- Network Interface Bonding
- Static routes
- Multipath disks
- Accessing your Cluster
- CephFS
- MDS Notifications
- CephFS Guard
- RBD
- S3
- S3 Multisite
- NVMe over Fabrics
- SMB
- NFS
- Ceph Keys
- AI Agents (MCP)
- Updating croit
- Replacing OSDs
- Replacing NIC
- PG numbers
- Updating Ceph
- Migrating or restoring croit container
- Backups
- Audit log
RBD
What is RBD
RBD (RADOS Block Device) is the way to go when you need a block device on a Linux machine. This includes QEMU hypervisors like Proxmox and OpenShift. There is also an experimental Windows driver.
Creating an RBD
To create an RBD, we need to create a RBD pool first.
- Navigate to
Block Storage. If the cluster has no RBD pool yet, croit opens theCreate RBD Poolwizard. - In the
RBD Poolstep, review the replicated pool that holds your images. - Optionally, tick
Create a data poolin theData Poolstep to add an erasure coded pool for image data (see below). - Optionally, create a first image in the
Imagestep, or clickCreate Without Image. - To add more images later, click
Createon theBlock Storagepage.
Erasure Coding (EC)
If you want to store RBDs on an EC pool, you need an EC data pool next to the replicated RBD pool. Then during the RBD creation:
- Select the replicated RBD pool as your
Pool. - Tick
Use a data pooland select the EC pool as yourData Pool, or pickNew erasure coded pool...to create one.
Mounting the RBD
There are multiple ways to mount the RBD.
The Native Way
To mount your RBD on a Linux system you need to:
- Setup Ceph Keys.
- Download and move both ceph.conf and key to
/etc/ceph/on the system. - Ensure the system has an up-to-date kernel, to prevent client bugs.
- Ensure the system has access to your MONs.
- Ensure the system has Ceph packages installed.
rbd device map $pool_name/$rbd_name --id $ceph_key_name
rbd device list
# Format the listed RBD
mkfs.xfs /dev/rbd0
mkdir /mnt/my-rbd
mount /dev/rbd0 /mnt/my-rbd
NVMe over Fabrics
RBD mirroring
Mirror RBD images to another cluster under Block Storage → Mirror: peers, rbd-mirror services and settings. The croit Datacenter Manager sets up both clusters in one step.
Hypervisors
RBDs can be directly utilized by QEMU-based hypervisors like:
