Create a USB device that, when configured and connected, exposes one or more Ceph RBD images for use as USB storage, allowing for:

  • Ceph storage consumption by almost any system with a USB port
    • Including dumb devices such as TVs, MP3 players and mobile phones
  • Boot from RBD image
    • By any system capable of booting from a USB mass storage device
  • Minimal configuration
    • Network, ceph.conf, Ceph access key and image pool should be all that's needed for configuration
    • Might be worth looking at SaltStack or WebYaST/Cockpit for configuration

The USB device will run an embedded Linux kernel, utilising the USB gadget stack and Ceph RBD client module. I plan on writing a minimal rbd-image-map helper, that allows for kernel RBD image mapping without requiring the user space Ceph libraries.

The USB device hardware should offer the following characteristics:

  • Small and portable
  • Sufficient CPU, RAM and storage resources to run Linux
    • Preferably multi-core, 1Ghz+, 1GB+ RAM, SD card or eMMC
  • Reasonable network and USB throughput
    • 802.11n and micro USB2 at a minimum
    • Ideally 802.11ac/GbE and micro USB3+
  • Powered via USB, ideally the same port as for data transfer
  • Affordable
    • Preferably less than $50USD

I plan on using my Cubietruck board as a hackweek prototype, which has a dual-core Allwinner A20 chip, with 2GB RAM, GbE and USB2. This should however also be achievable using C.H.I.P ($9 single-core board), NanoPi2 (quad-core $32 board), or UP (Intel Atom board with GbE and USB3).

Looking for hackers with the skills:

ceph rbd arm usb

This project is part of:

Hack Week 13

Activity

  • almost 5 years ago: a_faerber liked Ceph RBD backed USB mass storage gadget
  • almost 5 years ago: dmdiss added keyword "ceph" to Ceph RBD backed USB mass storage gadget
  • almost 5 years ago: dmdiss added keyword "rbd" to Ceph RBD backed USB mass storage gadget
  • almost 5 years ago: dmdiss added keyword "arm" to Ceph RBD backed USB mass storage gadget
  • almost 5 years ago: dmdiss added keyword "usb" to Ceph RBD backed USB mass storage gadget
  • almost 5 years ago: dmdiss started Ceph RBD backed USB mass storage gadget
  • almost 5 years ago: dmdiss originated Ceph RBD backed USB mass storage gadget

  • Comments

    Similar Projects

    Ceph as a ephemeral storage for containers by denisok

    The idea here is to study and understand how ep...


    distributed build for Ceph in containers by denisok

    Investigate possibilities for the distributed b...


    work on sunxi a64 cpufreq driver (for teres-1, pine64) by mbrugger

    With the teres-1 [1] laptop we have a first arm...


    openSUSE/SLE/Mainline U-boot for some not-yet-supported ARM64 boards by ldevulder

    The Khadas VIM (http://khadas.com/vim/) is an a...


    Port MicroOS to the Gameshell from Clockwork Pi by aplanas

    The [Gameshell](https://www.clockworkpi.com/gam...


    Mainline Sunplus Plus1 SP7021 kernel for Banana Pi F2S by a_faerber

    The recent Banana Pi BPI-F2S board features a n...


    Small Livecd with mutltimedia capabilities by aginies

    Play with kiwi and liveCd capabilities to creat...


    Lioncast RGB Keyboard user software, protocol reverse engineering by rsimai

    I recently bought a [Lioncast LK200 RGB](https:...