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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com