Usage: rbd-nbd [options] map Map image to nbd device detach Detach image from nbd device [options] attach Attach image to nbd device unmap Unmap nbd device [options] list-mapped List mapped nbd devices Map and attach options: --device Specify nbd device path (/dev/nbd{num}) --encryption-format luks|luks1|luks2 Image encryption format (default: luks) --encryption-passphrase-file Path of file containing passphrase for unlocking image encryption --exclusive Forbid writes by other clients --notrim Turn off trim/discard --io-timeout Set nbd IO timeout --max_part Override for module param max_part --nbds_max Override for module param nbds_max --quiesce Use quiesce callbacks --quiesce-hook Specify quiesce hook path (default: libexec/rbd-nbd/rbd-nbd_quiesce) --read-only Map read-only --reattach-timeout Set nbd re-attach timeout (default: 30) --show-cookie Show device cookie --cookie Specify device cookie --snap-id Specify snapshot by ID instead of by name Unmap and detach options: --device Specify nbd device path (/dev/nbd{num}) --snap-id Specify snapshot by ID instead of by name List options: --format plain|json|xml Output format (default: plain) --pretty-format Pretty formatting (json and xml) --conf/-c FILE read configuration from the given configuration file --id/-i ID set ID portion of my name --name/-n TYPE.ID set name --cluster NAME set cluster name (default: ceph) --setuser USER set uid to user or uid (and gid to user's gid) --setgroup GROUP set gid to group or gid --version show version and quit -d run in foreground, log to stderr -f run in foreground, log to usual location --debug_ms N set message debug level (e.g. 1)