thanks for ur reply~
I did some search, and found the reason, like the mail(
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2015-September/004928.html)
said, that because the krbd still not yet support the new RBD features like
exclusive-lock.

2016-04-18 16:45 GMT+08:00 huang jun <hjwsm1...@gmail.com>:

> Hi, can you post the 'modinfo rbd' and your cluster state 'ceph -s'.
>
> 2016-04-18 16:35 GMT+08:00 席智勇 <xizhiyon...@gmail.com>:
> > hi cephers:
> >
> > I create a rbd volume(image) on Jewel release, when exec rbd map, I got
> the
> > error message as follows.i can not  find any message usage in
> > syslog/kern.log/messages.
> > anyone can share some tips?
> >
> > ----------------------my ceph
> > version--------------------------------------------
> > root@hzbxs-xzy-ceph-dev-mon:~/ceph-cluster# ceph -v
> > ceph version 10.1.2 (4a2a6f72640d6b74a3bbd92798bb913ed380dcd4)
> > ---------------------system
> > info----------------------------------------------------
> > root@hzbxs-xzy-ceph-dev-mon:~/ceph-cluster# cat /etc/debian_version
> > 8.4
> > root@hzbxs-xzy-ceph-dev-mon:~/ceph-cluster# uname -a
> > Linux hzbxs-xzy-ceph-dev-mon 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2
> > (2016-04-08) x86_64 GNU/Linux
> > ----------------------my screen
> > snap---------------------------------------------
> > root@hzbxs-xzy-ceph-dev-mon:~/ceph-cluster# ceph osd lspools
> > 2016-04-18 16:24:24.691909 7fb08663b700 -1 WARNING: the following
> dangerous
> > and experimental features are enabled: bluestore,rocksdb
> > 2016-04-18 16:24:24.701003 7fb08663b700 -1 WARNING: the following
> dangerous
> > and experimental features are enabled: bluestore,rocksdb
> > 1 rbd,
> > root@hzbxs-xzy-ceph-dev-mon:~/ceph-cluster# rbd --image test_volume info
> > --pool rbd
> > 2016-04-18 16:24:27.396490 7f2156ea2d40 -1 WARNING: the following
> dangerous
> > and experimental features are enabled: bluestore,rocksdb
> > 2016-04-18 16:24:27.396551 7f2156ea2d40 -1 WARNING: the following
> dangerous
> > and experimental features are enabled: bluestore,rocksdb
> > 2016-04-18 16:24:27.399508 7f2156ea2d40 -1 WARNING: the following
> dangerous
> > and experimental features are enabled: bluestore,rocksdb
> > rbd image 'test_volume':
> > size 1024 MB in 256 objects
> > order 22 (4096 kB objects)
> > block_name_prefix: rbd_data.371a6b8b4567
> > format: 2
> > features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
> > flags:
> > root@hzbxs-xzy-ceph-dev-mon:~/ceph-cluster# rbd map test_volume --pool
> rbd
> > 2016-04-18 16:25:02.547462 7f291c173d40 -1 WARNING: the following
> dangerous
> > and experimental features are enabled: bluestore,rocksdb
> > 2016-04-18 16:25:02.547523 7f291c173d40 -1 WARNING: the following
> dangerous
> > and experimental features are enabled: bluestore,rocksdb
> > 2016-04-18 16:25:02.550352 7f291c173d40 -1 WARNING: the following
> dangerous
> > and experimental features are enabled: bluestore,rocksdb
> > rbd: sysfs write failed
> > rbd: map failed: (6) No such device or address
> > root@hzbxs-xzy-ceph-dev-mon:~/ceph-cluster#
> >
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
>
>
>
> --
> Thank you!
> HuangJun
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to