Go to file
awzhgw 29805fe8f7
Merge pull request #246 from chubaofs/dev
merge from dev to master
2019-09-11 22:14:14 +08:00
build build: update rocksdb build depends 2019-07-16 22:06:43 +08:00
client fix: update export init for consul register 2019-09-05 18:22:54 +08:00
clientv2 fix: update export init for consul register 2019-09-05 18:22:54 +08:00
cmd fix: err is shadowed in server main function 2019-09-04 17:17:50 +08:00
datanode Fix: datanode register hang bug 2019-09-07 10:51:43 +08:00
docker feature: daemonize server 2019-08-26 16:05:01 +08:00
docs Refactor: Doc :delete warnLogDir config 2019-08-21 17:51:52 +08:00
master fix: update export init for consul register 2019-09-05 18:22:54 +08:00
metanode fix: update export init for consul register 2019-09-05 18:22:54 +08:00
proto enhancement: passing create data partition type to datanode 2019-08-16 14:42:09 +08:00
raftstore Fix: dataPartition disk error ,not recvoery raft log on new datanode 2019-09-06 21:06:46 +08:00
repl Fix: Storage :when write tinyExtent,if offset!=e.datasize,return error 2019-08-28 13:56:06 +08:00
sdk Fix: if master only create DataPartitionCnt is 10,then cannnot mount 2019-09-05 08:40:21 +08:00
storage Refactor: sync code from git.jd.com/chubaofs/chubaofs 2019-09-06 21:06:46 +08:00
util fix: update export init for consul register 2019-09-05 18:22:54 +08:00
vendor Fix: dataPartition disk error ,not recvoery raft log on new datanode 2019-09-06 21:06:46 +08:00
.gitignore build: update build.sh 2019-07-10 15:59:45 +08:00
.travis.yml add cfs-base dockerfile 2019-06-18 20:55:18 +08:00
CHANGELOG.md Update CHANGELOG.md 2019-09-11 21:45:29 +08:00
CODE_OF_CONDUCT.md Add code of conduct 2019-04-25 15:15:17 -07:00
CONTRIBUTING.md Add CONTRIBUTING.md 2019-05-07 18:22:17 +08:00
go.mod add go mod 2019-06-20 15:11:09 +08:00
go.sum add go mod 2019-06-20 15:11:09 +08:00
GOVERNANCE.md Add governance 2019-05-06 11:26:33 -07:00
LICENSE Update LICENSE 2019-04-11 15:35:20 +08:00
MAINTAINERS.md Add governance 2019-05-06 11:26:33 -07:00
Makefile build: remove client unused depends 2019-07-12 13:40:01 +08:00
NOTICE init cfs docs 2019-03-04 17:28:58 +08:00
README.md update readme 2019-08-30 22:51:46 +08:00
ROADMAP.md Create ROADMAP.md 2019-04-26 23:32:41 +08:00

ChubaoFS

Build Status LICENSE Language Go Report Card Docs FOSSA Status CII Best Practices

Overview

ChubaoFS (储宝文件系统) is a distributed file system for cloud native applications. It has the following features:

  • scale-out metadata management

  • strong replication consistency for both append and random write

  • specific storage optimizations for large and small files

  • multiple volumes

  • POSIX-compatible

In particular, ChubaoFS can be used to provide persistent storage volumes for online applications and database services orchestrated by Kubernetes.

Document

https://chubaofs.readthedocs.io/en/latest/

https://chubaofs.readthedocs.io/zh_CN/latest/

Build

Build latest version of chubaofs is simply as following:

$ git clone http://github.com/chubaofs/chubaofs.git
$ cd chubaofs
$ make

If the build is successful, cfs-server and cfs-client will be found in directory build/bin

Docker

Under the docker directory, a helper tool called run_docker.sh is provided to run ChubaoFS with docker-compose.

To start a minimal ChubaoFS cluster from scratch, note that /data/disk is arbitrary, and make sure there are at least 30G available space.

$ docker/run_docker.sh -r -d /data/disk

If client starts successfully, use mount command in client docker shell to check mount status:

$ mount | grep chubaofs

Open http://127.0.0.1:3000 in browser, login with admin/123456 to view grafana monitor metrics.

Or run server and client seperately by following commands:

$ docker/run_docker.sh -b
$ docker/run_docker.sh -s -d /data/disk
$ docker/run_docker.sh -c
$ docker/run_docker.sh -m

For more usage:

$ docker/run_docker.sh -h

License

Licensed under the Apache License, Version 2.0. For detail see LICENSE and NOTICE.

FOSSA Status

Reference

Reference to cite when you use the system in a research paper or tech report:

Haifeng Liu, et al., CFS: A Distributed File System for Large Scale Container Platforms. SIGMOD19, June 30-July 5, 2019, Amsterdam, Netherlands. https://dl.acm.org/citation.cfm?doid=3299869.3314046