Re: Userspace Block Device

From: Rob Landley
Date: Tue May 19 2015 - 01:34:51 EST


On Mon, May 18, 2015 at 2:01 PM, Bill Speirs <bill.speirs@xxxxxxxxx> wrote:
> My goal is to provide Amazon S3 or Google Cloud Storage as a block
> device. I would like to leverage the libraries that exist for both
> systems by servicing requests via a user space program.
>
> I found 2 LKML threads that talk about a "userspace block device":
>
> 2005-11-09: http://article.gmane.org/gmane.linux.kernel/346883
> 2009-07-27: http://article.gmane.org/gmane.linux.kernel/869784
>
> The first thread resulted in Michael Clark suggesting his kernel
> module: https://github.com/michaeljclark/userblk The second
> essentially resulted in "use nbd". Mr. Clark's module is now over 10
> years old, and ndb seems like a bit of a Rube Goldberg solution.

I wrote the busybox and toybox nbd clients, and have a todo list item
to write an nbd server for toybox. I believe there's also an nbd
server in qemu. I haven't found any decent documentation on the
protocol yet, but what specifically makes you describe it as rube
goldberg?

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/