Use it when configuring, checking or troubleshooting RBD in Ceph.
RBD
An RBD image maps logical blocks into RADOS objects. Client I/O obtains cluster maps/auth, accesses the image’s pool and routes object operations directly to the corresponding PG/OSD acting sets.
1. RBD provides thin block devices for VMs and Kubernetes.
2. Snapshots and clones (layering).
3. Clients: librbd (QEMU) or krbd.
4. Watchers show who has it open.
5. Mirroring for DR.
client → RBD image → objects → PGs
Context & applicabilityCommon mistakes · platform/version boundaries
RBD mapping or image visibility shows control access, not end-to-end guest data integrity, pool redundancy or application consistency.
Suspicious evidence: stale locks/watchers, image feature mismatch, auth denial, degraded pool PGs, slow OSDs or block access healthy while filesystem/application fails.
Next check: Continue at the first failing step in MON/MGR/OSD/MDS, Pools/PG/CRUSH, client service (RBD/CephFS/RGW), public/cluster Networking, Storage Performance, Physical Media or Backup/DR; preserve evidence, make one minimal change and repeat the original workload plus redundancy/read-back verification.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
application/filesystem → RBD block device/librbd → image object mapping → pool/PG → CRUSH → OSDs
Healthy evidence: correct client can access the intended image, pool/PGs are healthy, block latency is within baseline and upper-layer read/write/read-back succeeds.
Step 2 Quality lift: branching diagnosis Narrow the fault
Concrete boundaries: client/RBD/CephFS → pool/object → PG mapping → acting set/OSDs → device/WAL/DB → acknowledgements → client completion → read-back.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- RBD image ≠ raw physical disk.
- Mapped RBD device ≠ healthy all-path storage.
- RBD snapshot ≠ independent backup.
- RBD pool healthy ≠ guest filesystem/application healthy.
rbd ls -l <pool>— images and sizesrbd info <pool>/<image>— features and parentrbd status <pool>/<image>— watchers (clients)
ReferenceWhy it matters1 section · depth on demand
Quality lift: concrete internals
HEALTH_OK is cluster-level summary, not evidence of one RBD/file/object workload.
ReferenceImportant terms & boundaries2 sections · depth on demand
Placement and what the checks show
RBD mapping or image visibility shows control access, not end-to-end guest data integrity, pool redundancy or application consistency.
HEALTH_OK is cluster-level summary, not evidence of one RBD/file/object workload.
In depth
RBD (RADOS Block Device) stripes a block image over 4 MiB RADOS objects (default object size), so I/O to one disk is spread over many OSDs. Images are thin-provisioned and support snapshots, clones, mirroring and live resize.
rbd create vm-pool/disk1 --size 100G
rbd info vm-pool/disk1
rbd du vm-pool/disk1 # provisioned vs used (fast with fast-diff)
rbd map vm-pool/disk1 # kernel client → /dev/rbd0
rbd snap create vm-pool/disk1@before-upgrade
rbd snap protect vm-pool/disk1@golden; rbd clone vm-pool/disk1@golden vm-pool/vm2
Hypervisors usually use librbd (QEMU) instead of the kernel client. Enable exclusive-lock,object-map,fast-diff features for fast du, diffs and backups.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Ceph → RBD. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.ceph.com/en/latest/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Ceph → RBD Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph → RBD.
| Ceph boundary | What to verify | Proof limit |
|---|---|---|
| Control / placement | MON/map/auth, pool, PG and CRUSH context for the exact workload | Cluster visibility or one healthy daemon does not prove the data path |
| Data / redundancy | Acting OSD set, device/network state, capacity and replica/EC availability | Up/in or active state alone does not prove clean redundancy or integrity |
| Failure boundary | RBD mapping or image visibility proves control access, not end-to-end guest data integrity, pool redundancy or application consistency. | Correlate Ceph, host, device and network evidence in the same time window |
| Acceptance | Healthy evidence: correct client can access the intended image, pool/PGs are healthy, block latency is within baseline and upper-layer read/write/read-back succeeds. | Close only after original client operation plus redundancy/read-back verification |