Well, sure, if you want to be all elegant about it ;)

> 
>> I ran ceph osd crush reweight 75 1.0 and it started recovering right away
>> 3-4 Gbit/s sustained throughput.   I know this is a bandaid, waiting on
>> your guidance on how to adjust the wrights above.
> 
> Use something like this:
> 
> ceph osd set norebalance
> ceph osd set nobackfill
> 
> ceph osd df | awk '/9.1 TiB/ { print $1; }' | while read osdid ; do ceph osd 
> crush reweight osd.$osdid 9.1; done
> ceph osd df | awk '/7.3 TiB/ { print $1; }' | while read osdid ; do ceph osd 
> crush reweight osd.$osdid 7.3; done
> ceph osd df | awk '/7.2 TiB/ { print $1; }' | while read osdid ; do ceph osd 
> crush reweight osd.$osdid 7.2; done
> 
> ceph osd unset norebalance
> ceph osd unset nobackfill
> 
> Regards
> -- 
> Robert Sander
> Linux Consultant
> 
> Heinlein Consulting GmbH
> Schwedter Str. 8/9b, 10119 Berlin
> 
> https://www.heinlein-support.de
> 
> Tel: +49 30 405051 - 0
> Fax: +49 30 405051 - 19
> 
> Amtsgericht Berlin-Charlottenburg - HRB 220009 B
> Geschäftsführer: Peer Heinlein - Sitz: Berlin
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to