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

     

转载于:https://www.cnblogs.com/sylar5/p/6529219.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值