Project

General

Profile

Bug #11811

Updated by Loïc Dachary almost 9 years ago

* hammer 
 * MON=3 OSD=10 ./vstart.sh -X -n -l mon osd 10 OSDs, 3 MONs 
 * profile=ecprofile 
 * ceph osd erasure-code-profile set $profile pluing=lrc k=4 m=2 l=3 ruleset-failure-domain=osd 
 * poolname=cephlrc poolname=ecpool 
 * ceph osd pool create $poolname 1 1 erasure $profile 
 * g++ -g -c attachment:hw.cc -o hw.o ; g++ -g hw.o -lrados -o hw 
 * ./hw 

Back