Project

General

Profile

Support #21668

rbd: error parsing command 'pool'

Added by Ankit sharma over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

I have created a pool name rbd01 by following command
_
ceph osd pool create rbd01 128
pool created successfully .

_
, but not able to initialize pool using below command getting error .

[root@cephdeploy my-cluster]# rbd -v
ceph version 0.80.7 (6c0127fcb58008793d3c8b62d925bc91963672a3

[_root@cephdeploy my-cluster]# rbd pool rbd01 init
rbd: error parsing command 'pool'; -h or --help for usage_

Moreover , I tried to map the image to a block device On the ceph-client node again getting error . Not sure what I am doing wrong , Anyone on this forum can help would be really appreciated .

-bash-4.2# rbd map foo --name client.admin -m 10.224.1.109 -k /etc/ceph/ceph.client.admin.keyring
rbd: sysfs write failed
RBD image feature set mismatch. You can disable features unsupported by the kernel with "rbd feature disable".
In some cases useful info is found in syslog - try "dmesg | tail" or so.
rbd: map failed: (6) No such device or address

History

#1 Updated by Jason Dillaman over 6 years ago

  • Status changed from New to Closed

It appears you are using a very old version of the CLI tools (0.80.7 vs 12.2.1). The "rbd pool init <pool name>" command was only introduced in the 12.2.x release of Ceph.

Also available in: Atom PDF