Pcornel
Storage · Ceph

RBD

Cheat sheet · https://pcornel.dk/topic.php?topic=4047

Back to the Topic

Answer

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.

Remember

  • RBD image ≠ raw physical disk.
  • Mapped RBD device ≠ healthy all-path storage.
  • RBD snapshot ≠ independent backup.
  • RBD pool healthy ≠ guest filesystem/application healthy.

First checks

  • rbd ls -l <pool> — images and sizes
  • rbd info <pool>/<image> — features and parent
  • rbd status <pool>/<image> — watchers (clients)

Verify in this order

client → RBD image → objects → PGs

Where it usually breaks

First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.

Ceph → RBD Ceph map

Ceph boundaryWhat to verifyProof limit
Control / placementMON/map/auth, pool, PG and CRUSH context for the exact workloadCluster visibility or one healthy daemon does not prove the data path
Data / redundancyActing OSD set, device/network state, capacity and replica/EC availabilityUp/in or active state alone does not prove clean redundancy or integrity
Failure boundaryRBD 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
AcceptanceHealthy 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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4047

Confirmation

Confirm action

Continue?