On Wed, Oct 8, 2014 at 2:35 AM, Ilya Dryomov <ilya.dryo...@inktank.com>
wrote:

> On Wed, Oct 8, 2014 at 2:19 AM, Shawn Edwards <lesser.e...@gmail.com>
> 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.
>
>
That's the problem I'm running into, where I need the rbd command on a
machine which has horribly old tools but a modern kernel.  Is the
simple-rbd-install effort somewhere I could see/help?  I could see this as
being very interesting to folks.


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



-- 
 Shawn Edwards
 Beware programmers with screwdrivers.  They tend to spill them on their
keyboards.
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to