|
|
[root@compute01 src]# ceph osd crush rule ls0 ^% Z, G! Z) C3 D/ e* s
replicated_rule
, g1 q3 [. P. F5 Dssd-bigdata_rule
% H0 d# a* B' b \ssd-smalldata_rule
1 I+ P) N, D5 C+ @* f# V' q& phdd-bigdata_rule
5 Y4 G2 ?7 r. D5 t. M% W! ?; h- ohdd-smalldata_rule
2 y# h& i. Q, n2 S[root@compute01 src]# ceph osd crush rule rm ssd-smalldata_rule1 J) ?8 ]% Q1 R9 B( f9 a9 i6 A4 J3 ^
[root@compute01 src]# ceph osd crush rule ls
) g$ _: O V/ H$ [1 o4 D; b" v7 breplicated_rule2 h+ v) c& V+ ^* [& o
ssd-bigdata_rule
. m( T3 N* w0 w- G( [hdd-bigdata_rule
* F I! A- C Dhdd-smalldata_rule
R" N! W: I# s4 b6 ^[root@compute01 src]# ceph osd crush rule rename
g! Z" c4 z F# C9 g+ Z |/ i #rename crush rule <srcname> to <dstname>
3 \! @% p( g! ~3 x+ n[root@compute01 src]# ceph osd crush rule rename + B( H5 ]1 X2 t- m/ S
#rename crush rule <srcname> to <dstname>4 D6 M+ p, [8 s! h. @
[root@compute01 src]# ceph osd crush rule rename ssd-bigdata_rule ssd
5 Y* o. c, U. g0 L3 w( ~/ ?8 S[root@compute01 src]# ceph osd crush rule ls
; q3 s$ t! k% [: Freplicated_rule
7 b( l. V4 } n L* Y+ }ssd: `0 k2 \% c* S! ?7 [
hdd-bigdata_rule ?7 C3 f2 l G6 A
hdd-smalldata_rule
( |! E2 t6 v) g8 T/ V8 H" y1 _5 U" {; G[root@compute01 src]# ; a4 f: `* ^, P: G8 I! G& R
|
|