Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

RBD

Direct answer

An RBD image spans pool/PG/OSD placement dynamically; client configuration, authentication, cache/discard features and Ceph cluster health all affect guest-visible I/O.

When to use this

Use this topic when the observed symptom or requested change has been narrowed to Proxmox VE → Ceph → RBD. Start with current state and dependencies before changing configuration.

First 30 seconds

1. RBD images are block devices for VM disks.

2. Thin and snapshot capable.

3. KRBD (kernel) vs librbd (QEMU).

4. Features must be supported by clients.

5. Mirroring for DR.

Operational verification

VM disk → RBD image → objects → PGs

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

RBD image accessibility shows a client can reach image metadata/data path, not guest filesystem integrity or application health.

Common mistakes
  • Deleting images that still have snapshots or clones (rbd snap ls, rbd children).
  • Mapping the same image read-write on two hosts without a cluster file system.
  • Not enabling exclusive-lock, object-map and fast-diff features for faster backups.
  • Forgetting to trim/discard inside guests, so images never shrink.
Platform / version applicability
proxmox-ve
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformproxmox-ve
Key commandrbd ls -l vm-pool
Scope / prerequisiteUse this topic when the observed symptom or requested change has been narrowed to Proxmox VE → Ceph → RBD. Start with c…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

VM disk config → RBD client → MON map/auth → pool/PG/CRUSH → OSDs → QEMU guest I/O

Evidence references

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.

observation · 1
Key points
  • RBD image exists ≠ guest disk attached.
  • Attached ≠ low latency.
  • Ceph snapshot/clone ≠ backup.
  • Discard/feature compatibility can differ by client/QEMU/kernel version.
Key checks
  • rbd ls <pool> — images
  • rbd info <pool>/<image> — size, features
  • rbd du <pool> — usage
ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

RBD image accessibility shows a client can reach image metadata/data path, not guest filesystem integrity or application health.

In depth

RBD images back Proxmox VM disks on Ceph storage (vm-<id>-disk-N).

rbd -p vm-pool ls -l
rbd info vm-pool/vm-120-disk-0
rbd du -p vm-pool
rbd snap ls vm-pool/vm-120-disk-0
rbd status vm-pool/vm-120-disk-0        # watchers = node using it

Enable discard=on on VM disks so guest TRIM frees space in the pool, and use krbd (kernel RBD) for containers (required) or optionally for VMs.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

RBD commands

rbd ls -l vm-pool
rbd info vm-pool/vm-120-disk-0
rbd du vm-pool                   # provisioned vs used
rbd snap ls vm-pool/vm-120-disk-0
rbd status vm-pool/vm-120-disk-0 # watchers (which client has it open)

A stale watcher can block mapping on another node after a crash; check rbd status before forcing.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docproxmox-ve current

Authoritative/upstream documentation reviewed for bounded claims in Proxmox VE → Ceph → RBD. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://pve.proxmox.com/pve-docs/ · confidence 94%
Terminology layer

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.

Aliases that resolve here
ceph rbd pveproxmox rbdrados block device proxmoxrbd image vm
Embedded reference data

Quick lookup tables

Proxmox VE → Ceph → RBD reference map

Fast operational boundaries and evidence limits for Proxmox VE → Ceph → RBD.

BoundaryWhat to verifyEvidence limit
Configured stateExpected RBD configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant RBD service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired to close the incident
Confirmation

Confirm action

Continue?