[ceph-users] New to ceph - error running create-initial

2016-11-29 Thread Oleg Kolosov
Hi I've recently started working with ceph for a university project I have. I'm working on Amazon EC2 servers. I've used 4 instances: one is admin/mon + 3 OSDs. Right from the start I've encountered a problem. When running the following command: ceph-deploy --username ubuntu mon create-initial I'

Re: [ceph-users] New to ceph - error running create-initial

2016-12-02 Thread Oleg Kolosov
; workaround 1) > before mon create-initial just run 'ceph-deploy admin mon-node' to push > the admin key on mon nodes and then rerun mon create-initial > > 2) or use jewel build which is stable and if you dont need latest master > ceph-deploy install --stable=jewel nod

[ceph-users] First time deploying ceph on Amazon EC2

2016-12-04 Thread Oleg Kolosov
Hi I'm first time deploying ceph. I've tried various manuals and read the ceph documentation, but I keep failing on the same issue during create-initial. For example, I've used this manual: https://github.com/infn-bari-school/cloud-storage-tutorials/wiki/Ceph-cluster-installation-(jewel-on-Ubuntu-x

[ceph-users] Replication (k=1) in LRC

2017-04-27 Thread Oleg Kolosov
Hi, I'm working on various implementation of LRC codes for study purposes. The layers implementation in the LRC module is very convenient for this, but I've came upon a problem in one of the cases. I'm interested in having k=1, m=1 in one of the layers. However this gives out an error: Error EINVAL

Re: [ceph-users] Replication (k=1) in LRC

2017-04-27 Thread Oleg Kolosov
7;[ [ "DD_DD_c_", "" ], [ "DDc_", "" ], [ "___DDc__", "" ], [ "__Dc", "" ], ]' \ ruleset-steps='[ [ "chooseleaf", "osd", 8 ], ]' Regards, Oleg On Fri, Apr 28, 2017 at 12:33 AM, Loic Da

Re: [ceph-users] Replication (k=1) in LRC

2017-05-04 Thread Oleg Kolosov
Hi Loic Commenting out the sanity check did the trick. The code is working as I'd expected. Thanks On Fri, Apr 28, 2017 at 1:48 AM, Loic Dachary wrote: > > > On 04/27/2017 11:43 PM, Oleg Kolosov wrote: > > Hi Loic, > > Of course. > > I'm implementing a ve

[ceph-users] RS vs LRC - abnormal results

2017-05-04 Thread Oleg Kolosov
Hi, I'm comparing different configurations of LRC with Reed-Solomon. Specifically I'm comparing the total data read in all OSDs during a reconstruction of a single node (I drop a single OSD and measure until the system is stable again). While most of the configurations output the desired result, a

[ceph-users] Redundant reallocation of OSD in a Placement Group

2017-05-14 Thread Oleg Kolosov
Hi Analyzing a single node crash in a PG, I've noticed that CRUSH might allocate an OSD which already exists in the PG to replace the failed OSD. For Example, say this is how the PG is allocated: [1,2,3,4] And say node 1 crashed, the initial allocation can be [2,2,3,4], meaning 2 was assigned inst

[ceph-users] Non efficient implementation of LRC?

2017-05-24 Thread Oleg Kolosov
Hi In minimum_to_decode function of ErasureCodeLrc.c , I suspect non efficient implementation. More specifically, instead of reading the minimum, we read the maximum. The problem is in this case: // // Get all available chunks in that layer to recover the // missing one(s). // set_difference(i

[ceph-users] Editing Ceph source code and debugging

2017-06-01 Thread Oleg Kolosov
Hi I'm interested in writing an original erasure code in Ceph for my research purposes. I was wondering if there is any tool or method supporting quick compilation and debugging. Thanks ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.c