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 
>>> <mailto: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

Reply via email to