Project

General

Profile

Actions

Bug #20426

closed

some generic options can not be passed by rbd-nbd

Added by Pan Liu almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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


Related issues 1 (0 open1 closed)

Copied to rbd - Backport #21269: luminous: some generic options can not be passed by rbd-nbdResolvedAbhishek LekshmananActions
Actions #1

Updated by Pan Liu almost 7 years ago

Expect to fix it in this PR: https://github.com/ceph/ceph/pull/14135

Actions #2

Updated by Nathan Cutler almost 7 years ago

  • Project changed from Ceph to rbd
  • Category deleted (librbd)
Actions #3

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

Actions #4

Updated by Mykola Golub over 6 years ago

  • Status changed from New to Pending Backport
  • Backport set to l
Actions #5

Updated by Mykola Golub over 6 years ago

  • Backport changed from l to luminous
Actions #6

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #21269: luminous: some generic options can not be passed by rbd-nbd added
Actions #7

Updated by Nathan Cutler over 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF