[ceph-users] weight-set defined for some OSDs and not defined for the new installed ones

Massimo Sgaravatto massimo.sgaravatto at gmail.com
Thu Mar 14 04:14:36 PDT 2019


I tried setting the weight set for the 'new' OSDs as you suggested.
What looks strange to me is that it was enough to set it for a single OSD
to have the weight-set defined for all the OSDs.
I defined the weight set for osd.12, and it got defined also for osd.13..19
...  [*]

At any rate after this change I am  now able to create a balancer compat
plan and have it executed

Thanks again for your help !!

Cheers, Massimo


[*]
[root at c-mon-01 /]# ceph osd crush tree
ID  CLASS WEIGHT  (compat) TYPE NAME
 -1       1.95190          root default
 -2             0        0     rack Rack15-PianoAlto
 -3       0.39038  0.38974     host c-osd-1
  0   hdd 0.09760  0.09988         osd.0
  1   hdd 0.09760  0.10040         osd.1
  2   hdd 0.09760  0.08945         osd.2
  3   hdd 0.09760  0.10001         osd.3
 -4       0.39038  0.39076     host c-osd-2
  4   hdd 0.09760  0.10275         osd.4
  5   hdd 0.09760  0.10081         osd.5
  6   hdd 0.09760  0.10135         osd.6
  7   hdd 0.09760  0.08585         osd.7
 -5       0.39038  0.39055     host c-osd-3
  8   hdd 0.09760  0.10622         osd.8
  9   hdd 0.09760  0.09148         osd.9
 10   hdd 0.09760  0.10164         osd.10
 11   hdd 0.09760  0.09122         osd.11
-11       0.78076  0.78076     host c-osd-5
 12   hdd 0.09760                  osd.12
 13   hdd 0.09760                  osd.13
 14   hdd 0.09760                  osd.14
 15   hdd 0.09760                  osd.15
 16   hdd 0.09760                  osd.16
 17   hdd 0.09760                  osd.17
 18   hdd 0.09760                  osd.18
 19   hdd 0.09760                  osd.19

[root at c-mon-01 /]# ceph osd crush weight-set reweight-compat osd.12 0.09760

[root at c-mon-01 /]# ceph osd crush tree
ID  CLASS WEIGHT  (compat) TYPE NAME
 -1       1.95190          root default
 -2             0        0     rack Rack15-PianoAlto
 -3       0.39038  0.38974     host c-osd-1
  0   hdd 0.09760  0.09988         osd.0
  1   hdd 0.09760  0.10040         osd.1
  2   hdd 0.09760  0.08945         osd.2
  3   hdd 0.09760  0.10001         osd.3
 -4       0.39038  0.39076     host c-osd-2
  4   hdd 0.09760  0.10275         osd.4
  5   hdd 0.09760  0.10081         osd.5
  6   hdd 0.09760  0.10135         osd.6
  7   hdd 0.09760  0.08585         osd.7
 -5       0.39038  0.39055     host c-osd-3
  8   hdd 0.09760  0.10622         osd.8
  9   hdd 0.09760  0.09148         osd.9
 10   hdd 0.09760  0.10164         osd.10
 11   hdd 0.09760  0.09122         osd.11
-11       0.78076  0.78076     host c-osd-5
 12   hdd 0.09760  0.09760         osd.12
 13   hdd 0.09760  0.09760         osd.13
 14   hdd 0.09760  0.09760         osd.14
 15   hdd 0.09760  0.09760         osd.15
 16   hdd 0.09760  0.09760         osd.16
 17   hdd 0.09760  0.09760         osd.17
 18   hdd 0.09760  0.09760         osd.18
 19   hdd 0.09760  0.09760         osd.19
[root at c-mon-01 /]#


On Thu, Mar 14, 2019 at 8:16 AM Konstantin Shalygin <k0ste at k0ste.ru> wrote:

> On 3/14/19 2:15 PM, Massimo Sgaravatto wrote:
> > I have some clients running centos7.4 with kernel 3.10
> >
> > I was told that the minimum requirements are kernel >=4.13 or CentOS
> > >= 7.5.
>
> Yes, this is correct.
>
>
>
> k
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20190314/830b7b80/attachment.html>


More information about the ceph-users mailing list