diff --git a/doc/man/8/rbd-nbd.rst b/doc/man/8/rbd-nbd.rst index 635b3433ed7..659a3a6cbde 100644 --- a/doc/man/8/rbd-nbd.rst +++ b/doc/man/8/rbd-nbd.rst @@ -9,7 +9,7 @@ Synopsis ======== -| **rbd-nbd** [-c conf] [--nbds_max *limit*] [--read-only] [--device *nbd device*] map *image-spec* | *snap-spec* +| **rbd-nbd** [-c conf] [--read-only] [--device *nbd device*] [--nbds_max *limit*] [--max_part *limit*] [--exclusive] map *image-spec* | *snap-spec* | **rbd-nbd** unmap *nbd device* | **rbd-nbd** list-mapped @@ -28,11 +28,23 @@ Options Use *ceph.conf* configuration file instead of the default ``/etc/ceph/ceph.conf`` to determine monitor addresses during startup. +.. option:: --read-only + + Map readonly. + .. option:: --nbds_max *limit* Override the parameter of NBD kernel module when modprobe, used to limit the count of nbd device. +.. option:: --max_part *limit* + + Override for module param nbds_max. + +.. option:: --exclusive + + Forbid other clients write. + Image and snap specs ====================