1
0
mirror of https://github.com/ceph/ceph synced 2024-12-14 23:46:28 +00:00

vstart.sh: k=2 for ec

It didn't like k=1 with the default profile.

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2015-12-29 09:54:03 -05:00
parent 3fa09f02d7
commit fc9d95224a

View File

@ -671,7 +671,7 @@ fi
if [ "$ec" -eq 1 ]; then
$SUDO $CEPH_ADM <<EOF
osd erasure-code-profile set ec-profile m=2 k=1
osd erasure-code-profile set ec-profile m=2 k=2
osd pool create ec 8 8 erasure ec-profile
quit
EOF