Re: CrushMap Rule Change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ahsley,

 

The rule you indicated, with “step choose indep 0 type osd” should select 13 different OSDs but not necessary on 13 different servers. So you should be able to test that on say 4 servers if you have ~4 OSDs per server.

 

To split the selected OSDs across 4 hosts, I think you would do something like:

“step take fourtb

step choose indep 4 type host

step choose indep 4 type osd

step emit”

 

Cheers,

Maxime

 

 

From: ceph-users <ceph-users-bounces@xxxxxxxxxxxxxx> on behalf of Ashley Merrick <ashley@xxxxxxxxxxxxxx>
Date: Thursday 2 March 2017 11:34
To: "ceph-users@xxxxxxxx" <ceph-users@xxxxxxxx>
Subject: [ceph-users] CrushMap Rule Change

 

Hello,

 

I am currently doing some erasure code tests in a dev environment.

 

I have set the following by “default”

 

rule sas {

        ruleset 2

        type erasure

        min_size 3

        max_size 13

        step set_chooseleaf_tries 5

        step set_choose_tries 100

        step take fourtb

        step choose indep 0 type osd

        step emit

}

 

As I am splitting the file into 13 chunks it is placing these across 13 different OSD’s.

 

In the DEV environment I do not have 13 hosts to do full host replication, however I am sure I can change the crush map rule to try and split evenly across the 4 HOST I have.

 

I’m think I will need to tell it to pick 4 HOST’s, and then the second line to pick OSD’s, however as 13 does not divide by 4 exactly what would be the best way to lay out this crushmap rule?

 

Thanks,

Ashley

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux