ceph osd <set-full-ratio|set-nearfull-ratio|set-backfillfull-ratio>
<float[0.0-1.0]>
原始邮件 发件人: Karun
Josy<[email protected]>收件人: Jean-Charles Lopez<[email protected]>抄送:
[email protected]<[email protected]>发送时间: 2018年1月25日(周四)
04:42主题: Re: [ceph-users] Full RatioThank you!
Ceph version is 12.2
Also, can you let me know the format to set osd_backfill_full_ratio ?
Is it " ceph osd set -backfillfull-ratio .89 " ?
Karun Josy
On Thu, Jan 25, 2018 at 1:29 AM, Jean-Charles Lopez <[email protected]> wrote:
Hi,
if you are using an older Ceph version note that the mon_osd_near_full_ration
and mon_osd_full_ration must be set in the config file on the MON hosts first
and then the MONs restarted one after the other one.
If using a recent version there is a command ceph osd set-full-ratio and ceph
osd set-nearfull-ratio
Regards
JC
> On Jan 24, 2018, at 11:07, Karun Josy <[email protected]> wrote:
>
> Hi,
>
> I am trying to increase the full ratio of OSDs in a cluster.
> While adding a new node one of the new disk got backfilled to more than 95%
> and cluster freezed. So I am trying to avoid it from happening again.
>
>
> Tried pg set command but it is not working :
> $ ceph pg set_nearfull_ratio 0.88
> Error ENOTSUP: this command is obsolete
>
> I had increased the full ratio in osds using injectargs initially but it
> didnt work as when the disk reached 95% it showed osd full status
>
> $ ceph tell osd.* injectargs '--mon_osd_full_ratio 0.97'
> osd.0: mon_osd_full_ratio = '0.970000' (not observed, change may require
> restart)
> osd.1: mon_osd_full_ratio = '0.970000' (not observed, change may require
> restart)
> ----
> ----
>
> How can I set full ratio to more than 95% ?
>
> Karun
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com