Re: krbd map on Jewel, sysfs write failed when rbd map

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using any kernel >= 4.2 shouldn't have any problem. If you are using kernel version < 4.2, disable the recent features except layering.

Varada

On Monday 18 April 2016 02:41 PM, 席智勇 wrote:
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 <hjwsm1989@xxxxxxxxx>:
Hi, can you post the 'modinfo rbd' and your cluster state 'ceph -s'.

2016-04-18 16:35 GMT+08:00 席智勇 <xizhiyong18@xxxxxxxxx>:
> 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@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



--
Thank you!
HuangJun


PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux