此内容没有您所选择的语言版本。
Chapter 31. Creating a sample erasure coded pool
The simplest erasure coded pool is equivalent to RAID5 and requires at least three hosts:
ceph osd pool create ecpool 50 50 erasure echo ABCDEFGHI | rados --pool ecpool put NYAN - rados --pool ecpool get NYAN -
$ ceph osd pool create ecpool 50 50 erasure
pool 'ecpool' created
$ echo ABCDEFGHI | rados --pool ecpool put NYAN -
$ rados --pool ecpool get NYAN -
ABCDEFGHI
Note
the 50 in pool create stands for the number of placement groups.