'rbd map' inside a docker container

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

 



I need to map an existing RBD into a docker container. I'm running
Fedora 21 both as the host and inside the container (i.e. the kernel
matches ceph user space tools) and I get this error:

$ rbd map foo
rbd: add failed: (22) Invalid argument

$ strace rbd map foo
...
stat("/sys/bus/rbd", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/sys/bus/rbd/add_single_major", O_WRONLY) = 3
write(3, "172.17.0.11:6789 name=admin,key=client.admin rbd foo", 52) =
-1 EINVAL (Invalid argument)

Any idea what can be wrong? Note that I run ceph server in a container
too, but I guess it should not matter. I can map the same volume outside
of the container with the same settings without any problems.


ceph-0.80.9-1.fc21.x86_64
kernel-4.0.5-200.fc21.x86_64

Jan
_______________________________________________
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