Re: [ceph-users] Errors setting up erasure coded pool

2014-06-15 Thread Erik Logtenberg
Hi Loic, I hope you can sort of read the log snippet below. 2014-06-15 13:20:22.593085 7effee3f0700 0 mon.0@0(leader) e1 handle_command mon_command({"pool_type": "erasure", "prefix": "osd pool create", "pg_num": 100, "erasure_code_profile": "k2m1", "pgp_num": 100, "pool": "test123"} v 0) v1 2014

Re: [ceph-users] Errors setting up erasure coded pool

2014-06-15 Thread Erik Logtenberg
Hi Loic, Yes I upgraded the cluster, it is definately not new. I ran into several other issues as well, for instance legacy tunables that had to be changed. These are the directory contents you asked for: # ls -al /usr/lib64/ceph/erasure-code totaal 776 drwxr-xr-x. 2 root root 4096 12 jun 21:3

Re: [ceph-users] Errors setting up erasure coded pool

2014-06-15 Thread Loic Dachary
Hi, It would also help if you could add ceph tell mon.'*' injectargs '--debug-mon 20' check that it is set (replace mon.a with mon.) ceph daemon mon.a config get debug_mon { "debug_mon": "20\/20"} and check what the log have after you get ceph osd pool create test123 100

Re: [ceph-users] Errors setting up erasure coded pool

2014-06-15 Thread Loic Dachary
Hi Erik, Did you upgrade the cluster or is it a new cluster ? Could you please ls -l /usr/lib64/ceph/erasure-code ? If you're connected on irc.oftc.net#ceph today feel free to ping me ( loicd ). Cheers On 14/06/2014 23:25, Erik Logtenberg wrote: > Hi, > > I'm trying to set up an erasure coded

[ceph-users] Errors setting up erasure coded pool

2014-06-14 Thread Erik Logtenberg
Hi, I'm trying to set up an erasure coded pool, as described in the Ceph docs: http://ceph.com/docs/firefly/dev/erasure-coded-pool/ Unfortunately, creating a pool like that gives me the following error: # ceph osd pool create ecpool 12 12 erasure Error EINVAL: cannot determine the erasure code