RBD-NBD(8)
π RBD-NBD π
okay bestie, welcome to rbd-nbd β it's a manual page, it's from Ceph, and it's about to map your rbd images onto nbd devices. yes, the man page is literally named rbd-nbd and lives in the Ceph manual. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
rbd-nbd β map rbd images to nbd device
like. that's the whole job. that's the vibe. π
πΈ SYNOPSIS πΈ
rbd-nbd [-c conf] [--read-only] [--device nbd device] [--snap-id snap-id] [--nbds_max limit] [--max_part limit] [--exclusive] [--notrim] [--encryption-format format] [--encryption-passphrase-file passphrase-file] [--io-timeout seconds] [--reattach-timeout seconds] map image-spec | snap-spec
rbd-nbd unmap nbd device | image-spec | snap-spec
rbd-nbd list-mapped
rbd-nbd attach --device nbd device image-spec | snap-spec
rbd-nbd detach nbd device | image-spec | snap-spec
five little lines, five whole moods, and honestly? iconic. β¨
π¦ DESCRIPTION π¦
so rbd-nbd is a client for RADOS block device (rbd) images, basically the same energy as the rbd kernel module. it will map a rbd image to a nbd (Network Block Device) device, which lets you access it as a regular local block device. local block device. YOUR block device. main character energy fr fr. π
π OPTIONS π
-cceph.conf β use thisceph.confconfiguration file instead of the default/etc/ceph/ceph.confto figure out monitor addresses during startup. yes, a different conf, a different life.--read-onlyβ map read-only. no writing, bestie, this one's just for looking respectfully. π--nbds_maxlimit β override the parameternbds_maxof the NBD kernel module when modprobe happens; it's used to limit the count of nbd device.--max_partlimit β override for module parammax_part.--exclusiveβ forbid writes by other clients. gatekeeping, but make it infrastructure. π--notrimβ turn off trim/discard.--encryption-formatβ image encryption format. possible values:luks,luks1,luks2. pick your fighter.--encryption-passphrase-fileβ path of file containing a passphrase for unlocking image encryption. keep it secret, keep it safe. π€«--io-timeoutseconds β override device timeout. the Linux kernel will default to a 30 second request timeout, but this lets you optionally specify an alternate timeout. customize your patience level, love that for you.--reattach-timeoutseconds β specify timeout for the kernel to wait for a newrbd-nbdprocess to be attached after the old process is detached. the default is 30 second.--snap-idsnapid β specify a snapshot to map/unmap/attach/detach by ID instead of by name. numbers only, no name-calling. π
π IMAGE AND SNAP SPECS π
so here's how you spell things around here:
image-specis[pool-name]/image-namesnap-specis[pool-name]/image-name@snap-name
the default for pool-name is "rbd". but lowkey important: if an image name contains a slash character ('/'), the pool-name is required. yes, required. don't skip it. π
π AVAILABILITY π
rbd-nbd is part of Ceph, a massively scalable, open-source, distributed storage system. please refer to the Ceph documentation at <https://docs.ceph.com/> for more information. go read the docs, bestie, they ate. πβ¨
π SEE ALSO π
rbd(8)
π Copyright π
2010-2014, Inktank Storage, Inc. and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0)
and that's the whole page, bestie π₯Ή this one came from dev, dated Oct 06, 2026, and it's RBD-NBD(8) β that's a wrap, mwah πβ¨
π¦ where this page comes from
- ubuntu stonking: rbd-nbd 20.2.4+ds1-0ubuntu1 Β· LGPL2.1 (see COPYING-LGPL2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms