Re: rbd and libceph kernel api

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

 



On Wed, Oct 8, 2014 at 2:19 AM, Shawn Edwards <lesser.evil@xxxxxxxxx> wrote:
> Are there any docs on what is possible by writing/reading from the rbd
> driver's sysfs paths?  Is it documented anywhere?
>
> I've seen at least one blog post:
> http://www.sebastien-han.fr/blog/2012/06/24/use-rbd-on-a-client/ about how
> you can attach to an rbd using the sysfs interface, but I haven't found much
> else.

It's in the kernel tree, Documentation/ABI/testing/sysfs-bus-rbd.

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/testing/sysfs-bus-rbd

But keep in mind that rbd map and rbd unmap commands exist for a reason
and do a bit more than just writing stuff into sysfs.  If you are
concerned about fetching tons of packages, I think there is work
underway to fix the packaging so that there is a relatively small
package containing just rbd binary and ceph mount helpers that can be
installed.

>
> A broader question: what is possible as far as communicating with ceph using
> just the libceph and rbd kernel drivers?

There is no way to use libceph directly.  Using libceph+rbd you get an
rbd client, using libceph+ceph you get a cephfs client.  libceph is
essentially a library where auth, crush, messenger, parts of objecter
and mon and osd clients are implemented.

Thanks,

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