Giter VIP home page Giter VIP logo

chunk-fuse's Introduction

Block User Space Filesystem

What does it do?

Provides read/write access to one large file of a specified length. The file is backed by a folder, in which the 4MB sized blocks it consists of are stored.

The blocks are compressed transparently, and encrypted.

What is the point?

You may have cloud FUSE file systems, which give you folders to store data in. If you do not want the service to have access to the data, you want to encrypt it. So use this block to create a file system backed by the cloud.

Going further, if you have multiple cloud file systems, you can merge them using lvm across the blocks, which will give you a RAID-like system.

  • Access to multiple remote systems
  • Redundant
  • Encrypted -- data is safe from cloud operators
  • Compressed
  • fully native POSIX filesystem of your choice (reiserfs, ext4, etc.)

As a sketch:

Cloud service
   |
FUSE CloudFS: local folder
   |
BlockFS (this project): file
   |
loop mount file as block, using normal file system (reiserfs, ext4); prepare with mkfs.*
or: use file as lvm block

Encryption / compression details

  • Content is compressed before storage. zlib is used (you can use zlib-flate -uncompress to access the data)
  • When a password is specified, AES CBC is used from pycrypto. The IV is set to the block number. This constitutes symmetric encryption.
  • GPG was considered, but requires you to still have access to your secret gpg file -- which may not be true for backups.

chunk-fuse's People

Contributors

johannesbuchner avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.