Using two roots for the same pool

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

 



Hello.

I want to try CRUSH rule with following idea:
take one OSD from root with SSD drives (and use it as primary).
take two OSD from root with HDD drives.

I've created this rule:

rule rule_mix {
        ruleset 2
        type replicated
        min_size 2
        max_size 10
        step take ssd
        step chooseleaf firstn 1 type osd
        step take hdd
        step chooseleaf firstn -1 type osd
        step emit
}

But I think I done something wrong - all PG are undersized+degraded (I use 'size 3', have 2 SSD OSD and 5 HDD OSD).

My noobie questions:

1) Can I use multiple 'take' steps in the single rule?
2) How many emit I should/may use per rule?
3) Is this a proper way to describe such logic? Or it should be done differently? (How?)

Thanks.
_______________________________________________
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