basefs
Basically Available, Soft state, Eventually Consistent File System
Quick start
- Installation
$ sudo pip3 install basefs
- Bootstrap and mount
# Create new key
$ basefs genkey
# Createw new filesystem
$ basefs bootstrap myfs -i <ip>
# Mount
$ mkdir ~/myfs
$ basefs mount myfs ~/myfs
- Distribute
# Get the log from another machine
$ basefs get myfs <ip>:<port>
$ mkdir ~/myfs
$ basefs mount myfs ~/myfs
- 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