Distributed Blobstore using Couchbase Server
Go JavaScript HTML
Clone or download
Latest commit f13267c Mar 13, 2017
Permalink
Failed to load latest commit information.
client
config
dist
monitor
tools
.gitignore
LICENSE
README.markdown
backup.go
blobs.go
conf.go
database.go
debug.go
dns.go
export.go
files.go
frames.go
freespace_openbsd.go
freespace_unix.go
freespace_windows.go
fsck.go
hash.go
hash_test.go
heartbeat.go
heartbeat_test.go
http.go
http_api.go
http_test.go
ioutil.go
ioutil_test.go
list.go
logging.go
logging_windows.go
main.go
main_test.go
namedlock.go
namedlock_test.go
nodes.go
nodes_test.go
pathgen.go
registry.go
registry_test.go
tar.go
tasks.go
timeout.go
zip.go

README.markdown

GoDoc

cbfs is a distributed file server built on top of Couchbase

How do I get the stuff

go get github.com/couchbaselabs/cbfs

And you'll find the source in $GOPATH/src/github.com/couchbaselabs/cbfs (and a cbfs binary should be in your path)

How do I build the stuff

cd $GOPATH/src/pkg/github.com/couchbaselabs/cbfs
go build

How do I run the stuff

mkdir -p /tmp/localdata
./cbfs -nodeID=$mynodeid \
       -bucket=cbfs \
       -couchbase=http://$mycouchbaseserver:8091/
       -root=/tmp/localdata \
       -viewProxy

The server will be empty at this point, you can install the monitor using cbfsclient (go get github.com/couchbaselabs/cbfs/tools/cbfsclient)

cbfsclient http://localhost:8484/ upload \
    $GOPATH/src/github.com/couchbaselabs/cbfs/monitor monitor

Then go to http://localhost:8484/monitor/

Running on Docker / CoreOS

See Traun Leyden's blog post on Running CBFS + Couchbase Cluster on CoreOS.