Problem solved!
osd_class_dir path in ceph.conf was wrong. 

Thanks for help Ilya
Adir

-----Original Message-----
From: Ilya Dryomov [mailto:idryo...@gmail.com] 
Sent: Monday, August 17, 2015 10:48 AM
To: Adir Lev <ad...@mellanox.com>
Cc: ceph-us...@ceph.com
Subject: Re: [ceph-users] rbd map failed

On Thu, Aug 13, 2015 at 1:59 PM, Adir Lev <ad...@mellanox.com> wrote:
> Hi,
>
>
>
> I have a CEPH cluster running on 4 physical servers, the cluster is up 
> and healthy
>
> So far I was unable to connect any client to the cluster using krbd or 
> fio rbd plugin.
>
> My clients can see and create images in rbd pool but cannot map
>
> root@r-dcs68 ~ # rbd ls
>
> fio_test
>
> foo
>
> foo1
>
> foo_test
>
>
>
> root@r-dcs68 ~ # rbd map foo
>
> rbd: sysfs write failed
>
> rbd: map failed: (95) Operation not supported
>
>
>
> using strace I see that there is no write permissions to 
> /sys/bus/rbd/add
>
> root@r-dcs68 ~ # echo 192.168.57.102:16789 name=admin,key=client.admin 
> rbd foo - > /sys/bus/rbd/add
>
> -bash: echo: write error: Operation not permitted

It doesn't look like a file permissions problem, please paste the entire strace 
output.  What's your ceph version (ceph --version)?

Thanks,

                Ilya
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to