Hi Raymond,

I believe the "type datacenter" bit in your replicated-hdd rule should
read "type host" instead, as in the original replicated rule.

Best
Mattia

On 10/1/19 2:31 PM, Raymond Berg Hansen wrote:
> You are absolutly right, I had made a crush rule for device class hdd. Did 
> not put this in connection with this problem. When I put the pools back in 
> the default crush rule things are starting to fix itself it seems.
> Have I done something wrong with this crush rule?
> 
> # rules
> rule replicated_rule {
>       id 0
>       type replicated
>       min_size 1
>       max_size 10
>       step take default
>       step chooseleaf firstn 0 type host
>       step emit
> }
> rule replicated-hdd {
>       id 1
>       type replicated
>       min_size 1
>       max_size 10
>       step take default class hdd
>       step chooseleaf firstn 0 type datacenter
>       step emit
> }
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
> 
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to