Hi
The weight is reflect spaces or ability  of disks.
For example, the weight of 100G OSD disk is 0.100(100G/1T).


Best wishes,
Vickie

2015-02-10 22:25 GMT+08:00 B L <super.itera...@gmail.com>:

> Thanks for everyone!!
>
> After applying the re-weighting command (*ceph osd crush reweight osd.0
> 0.0095*), my cluster is getting healthy now :))
>
> But I have one question, what if I have hundreds of OSDs, shall I do the
> re-weighting on each device, or there is some way to make this happen
> automatically .. the question in other words, why would I need to do
> weighting in the first place??
>
>
>
>
> On Feb 10, 2015, at 4:00 PM, Vikhyat Umrao <vum...@redhat.com> wrote:
>
>  Oh , I have miss placed the places for osd names and weight
>
> ceph osd crush reweight osd.0 0.0095  and so on ..
>
> Regards,
> Vikhyat
>
>  On 02/10/2015 07:31 PM, B L wrote:
>
> Thanks Vikhyat,
>
>  As suggested ..
>
>  ceph@ceph-node1:/home/ubuntu$ ceph osd crush reweight 0.0095 osd.0
>
>  Invalid command:  osd.0 doesn't represent a float
> osd crush reweight <name> <float[0.0-]> :  change <name>'s weight to
> <weight> in crush map
> Error EINVAL: invalid command
>
>  What do you think
>
>
>  On Feb 10, 2015, at 3:18 PM, Vikhyat Umrao <vum...@redhat.com> wrote:
>
> sudo ceph osd crush reweight 0.0095 osd.0 to osd.5
>
>
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to