Applied crush rules to pool but not working.

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

 



Dear cephers:
My cluster( 0.87) got an odd incident.
The incident is when I marked the default crush rule "replicated_ruleset" and set new rule called "new_rule1".
Content of rule "new_rule1" is just like "replicated_ruleset". Only difference is ruleset number .

After applied new map into crush then used command "$ceph osd pool create test 128 128".
I thought pool "test" will works normally.
But when I use command like "rados -p test ls" will get warning "health HEALTH_WARN 7 requests are blocked > 32 sec".
So I use command "$ceph osd pool set test crush_ruleset 1" applied the rule to pool "test" again.
The pool "test" still not working and I found pgs of this group are not create.

Is this a bad way to set crush rules ?
If anyone can give me some hints. I'll very appreciate that.

##### rules #####
#rule replicated_ruleset {
#       ruleset 0
#       type replicated
#       min_size 1
#       max_size 10
#       step take default
#       step chooseleaf firstn 0 type host
#       step emit
#}

rule new_rule1 {
        ruleset 1
        type replicated
        min_size 1
        max_size 10
        step take default
        step chooseleaf firstn 0 type host
        step emit
}


Best wishes,
​Mika
_______________________________________________
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