Re: rbd and libceph kernel api

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

 



On Wed, Oct 8, 2014 at 9:13 PM, Shawn Edwards <lesser.evil@xxxxxxxxx> wrote:
> On Wed, Oct 8, 2014 at 2:35 AM, Ilya Dryomov <ilya.dryomov@xxxxxxxxxxx>
> wrote:
>>
>> 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.
>>
>
> 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.

Hmm, if it's horribly old, you best bet is probably doing it by hand.
rbd binary has a bunch of dependencies: libblkid, libudev, libkeyutils
and then everything librados and librbd depend on, so packaging changes
will probably be irrelevant.  IIRC libblkid should be at least 2.17,
I'm sure other constraints will pop up as well..

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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux