Basically Available, Soft state, Eventually consistent File System


Keywords
filesystem, decentralized, distributed
License
Other
Install
pip install basefs==0.7

Documentation

basefs

Basically Available, Soft state, Eventually Consistent File System

Quick start

  1. Installation
$ sudo pip3 install basefs
  1. Bootstrap and mount
# Create new key
$ basefs genkey

# Createw new filesystem
$ basefs bootstrap myfs -i <ip>

# Mount
$ mkdir ~/myfs
$ basefs mount myfs ~/myfs
  1. Distribute
# Get the log from another machine
$ basefs get myfs <ip>:<port>
$ mkdir ~/myfs
$ basefs mount myfs ~/myfs
  1. See all possibilities
$ basefs help
Usage: basefs COMMAND [arg...]
       basefs [ --help | -v | --version ]

Basically Available, Soft state, Eventually consistent File System.

Commands:
    mount       Mount an existing filesystem
    run         Run an existing filesystem without mounting it (testing)
    bootstrap   Create a new self-contained filesystem
    genkey      Generate a new EC private key
    keys        List keys and their directories
    grant       Grant key write permission
    revoke      Revoke key write permission
    list        List all available logs
    show        Show a log file using a tree representation
    revert      Revert object to previous state, 'log' command lists all revisions
    blocks      Block state
    members     List cluster members
    serf        Serf RPC Command proxy
    get         Get log from peer address
    installserf Download and install Serf
    resources   Display BaseFS resource consumption in real-time
    help

Run 'basefs COMMAND --help' for more information on a command