Bug #20426
closedsome generic options can not be passed by rbd-nbd
0%
Description
#rbd-nbd --help
Usage: rbd-nbd [options] map <image-or-snap-spec> Map an image to nbd device
unmap <device path> Unmap nbd device
list-mapped List mapped nbd devices
Options:
--device <device path> Specify nbd device path
--read-only Map read-only
--nbds_max <limit> Override for module param nbds_max
--max_part <limit> Override for module param max_part
--exclusive Forbid writes by other clients
--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)
We could find --conf/-c print out in help message. But when use it:
#rbd-nbd map image -c /etc/ceph/ceph.conf
rbd-nbd: unknown args: -c
Updated by Pan Liu almost 7 years ago
Expect to fix it in this PR: https://github.com/ceph/ceph/pull/14135
Updated by Nathan Cutler almost 7 years ago
- Project changed from Ceph to rbd
- Category deleted (
librbd)
Updated by Pan Liu over 6 years ago
Pan Liu wrote:
Expect to fix it in this PR: https://github.com/ceph/ceph/pull/14135
A new clean fix opened: https://github.com/ceph/ceph/pull/17375
Updated by Mykola Golub over 6 years ago
- Status changed from New to Pending Backport
- Backport set to l
Updated by Nathan Cutler over 6 years ago
- Copied to Backport #21269: luminous: some generic options can not be passed by rbd-nbd added
Updated by Nathan Cutler over 6 years ago
- Status changed from Pending Backport to Resolved