NCCloud 指令示例
http://ansrlab.cse.cuhk.edu.hk/software/nccloud/
Implementation of NCCloud in C++ (updated: August 2013)
We implement NCCloud in C++ to improve its performance:
- Supported coding schemes: FMSR codes (libfmsr), Reed-Solomon codes (Jerasure) and replication
- Supported storage back-ends: Local storage, OpenStack Swift
- Source (bundled with libfmsr and Jerasure): nccloud-c++-1.0.tar.gz (August 2013) (md5: d004b46ea269a1aab0fde575f7ef36bc)
- Example usage (in bash):
$ tar xf nccloud-c++-1.0.tar.gz && cd nccloud-c++-1.0/nccloud $ make $ export LD_LIBRARY_PATH="../libfmsr/lib:../Jerasure/lib:$LD_LIBRARY_PATH" # or install the libraries any way you want $ cp template/config_local config $ mkdir -p store/{tmp,node{0..4}} $ bin/nccloud config encode README template/config_local $ bin/nccloud config repair 0 README config_local $ bin/nccloud config decode README config_local $ diff {,store/tmp/}README $ diff {template,store/tmp}/config_local $ bin/list_repo config $ bin/nccloud config delete README config_local $ bin/list_repo config
libfmsr: a C library for FMSR codes (updated: August 2013)
- Source: libfmsr-1.0.tar.gz (August 2013) (md5: ccfa0aa05f864ed5e11f011cb71d8a08)
- Example usage (in bash):
$ tar xf libfmsr-0.1.tar.gz && cd libfmsr-0.1 $ make && make test