Hi to all.
Im trying to remove host "fiorito" from ceph, config. But, cant.
root@hijos:~# cat crushdeco
# begin crush map
tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50
tunable chooseleaf_descend_once 1
tunable chooseleaf_vary_r 1
tunable chooseleaf_stable 1
tunable straw_calc_version 1
tunable allowed_bucket_algs 54
# devices
device 0 osd.0 class hdd
device 1 osd.1 class hdd
device 2 osd.2 class hdd
device 3 osd.3 class hdd
device 4 osd.4 class hdd
device 5 osd.5 class hdd
device 6 osd.6 class hdd
device 7 osd.7 class hdd
device 8 osd.8 class hdd
# types
type 0 osd
type 1 host
type 2 chassis
type 3 rack
type 4 row
type 5 pdu
type 6 pod
type 7 room
type 8 datacenter
type 9 region
type 10 root
# buckets
host n1 {
id -3 # do not change unnecessarily
id -2 class hdd # do not change unnecessarily
# weight 3.622
alg straw2
hash 0 # rjenkins1
item osd.2 weight 0.904
item osd.3 weight 0.904
item osd.7 weight 1.814
}
host n2 {
id -5 # do not change unnecessarily
id -4 class hdd # do not change unnecessarily
# weight 1.809
alg straw2
hash 0 # rjenkins1
item osd.4 weight 0.904
item osd.5 weight 0.904
}
host fiorito {
id -7 # do not change unnecessarily
id -6 class hdd # do not change unnecessarily
# weight 0.000
alg straw2
hash 0 # rjenkins1
}
host hijos {
id -9 # do not change unnecessarily
id -10 class hdd # do not change unnecessarily
# weight 4.527
alg straw2
hash 0 # rjenkins1
item osd.0 weight 0.904
item osd.1 weight 0.904
item osd.6 weight 1.814
item osd.8 weight 0.904
}
root default {
id -1 # do not change unnecessarily
id -8 class hdd # do not change unnecessarily
# weight 9.958
alg straw2
hash 0 # rjenkins1
item n1 weight 3.622
item n2 weight 1.809
item fiorito weight 0.000
item hijos weight 4.527
}
# 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
}
# end crush map
root@hijos:~# ceph osd tree
ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
-1 9.95792 root default
-7 0 host fiorito
-9 4.52676 host hijos
0 hdd 0.90439 osd.0 up 1.00000 1.00000
1 hdd 0.90439 osd.1 up 1.00000 1.00000
6 hdd 1.81360 osd.6 up 1.00000 1.00000
8 hdd 0.90439 osd.8 up 1.00000 1.00000
-3 3.62238 host n1
2 hdd 0.90439 osd.2 up 1.00000 1.00000
3 hdd 0.90439 osd.3 up 1.00000 1.00000
7 hdd 1.81360 osd.7 up 1.00000 1.00000
-5 1.80878 host n2
4 hdd 0.90439 osd.4 up 1.00000 1.00000
5 hdd 0.90439 osd.5 up 1.00000 1.00000
Thanks to all.
Im trying to remove host "fiorito" from ceph, config. But, cant.
root@hijos:~# cat crushdeco
# begin crush map
tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50
tunable chooseleaf_descend_once 1
tunable chooseleaf_vary_r 1
tunable chooseleaf_stable 1
tunable straw_calc_version 1
tunable allowed_bucket_algs 54
# devices
device 0 osd.0 class hdd
device 1 osd.1 class hdd
device 2 osd.2 class hdd
device 3 osd.3 class hdd
device 4 osd.4 class hdd
device 5 osd.5 class hdd
device 6 osd.6 class hdd
device 7 osd.7 class hdd
device 8 osd.8 class hdd
# types
type 0 osd
type 1 host
type 2 chassis
type 3 rack
type 4 row
type 5 pdu
type 6 pod
type 7 room
type 8 datacenter
type 9 region
type 10 root
# buckets
host n1 {
id -3 # do not change unnecessarily
id -2 class hdd # do not change unnecessarily
# weight 3.622
alg straw2
hash 0 # rjenkins1
item osd.2 weight 0.904
item osd.3 weight 0.904
item osd.7 weight 1.814
}
host n2 {
id -5 # do not change unnecessarily
id -4 class hdd # do not change unnecessarily
# weight 1.809
alg straw2
hash 0 # rjenkins1
item osd.4 weight 0.904
item osd.5 weight 0.904
}
host fiorito {
id -7 # do not change unnecessarily
id -6 class hdd # do not change unnecessarily
# weight 0.000
alg straw2
hash 0 # rjenkins1
}
host hijos {
id -9 # do not change unnecessarily
id -10 class hdd # do not change unnecessarily
# weight 4.527
alg straw2
hash 0 # rjenkins1
item osd.0 weight 0.904
item osd.1 weight 0.904
item osd.6 weight 1.814
item osd.8 weight 0.904
}
root default {
id -1 # do not change unnecessarily
id -8 class hdd # do not change unnecessarily
# weight 9.958
alg straw2
hash 0 # rjenkins1
item n1 weight 3.622
item n2 weight 1.809
item fiorito weight 0.000
item hijos weight 4.527
}
# 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
}
# end crush map
root@hijos:~# ceph osd tree
ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
-1 9.95792 root default
-7 0 host fiorito
-9 4.52676 host hijos
0 hdd 0.90439 osd.0 up 1.00000 1.00000
1 hdd 0.90439 osd.1 up 1.00000 1.00000
6 hdd 1.81360 osd.6 up 1.00000 1.00000
8 hdd 0.90439 osd.8 up 1.00000 1.00000
-3 3.62238 host n1
2 hdd 0.90439 osd.2 up 1.00000 1.00000
3 hdd 0.90439 osd.3 up 1.00000 1.00000
7 hdd 1.81360 osd.7 up 1.00000 1.00000
-5 1.80878 host n2
4 hdd 0.90439 osd.4 up 1.00000 1.00000
5 hdd 0.90439 osd.5 up 1.00000 1.00000
Thanks to all.
Last edited: