Merge pull request #14134 from wangzhengyong/doc

doc: add some undocumented options to rbd-nbd

Reviewed-by: Pan Liu <liupan1111@gmail.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
This commit is contained in:
Mykola Golub 2017-03-25 22:26:23 +02:00 committed by GitHub
commit 2e97d18b81

View File

@ -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
====================