原始邮件
发件人: Karun Josy<karunjosy1@xxxxxxxxx>
收件人: Jean-Charles Lopez<jelopez@xxxxxxxxxx>
抄送: ceph-users@xxxxxxxxxxxxxx<ceph-users@xxxxxxxxxxxxxx>
发送时间: 2018年1月25日(周四) 04:42
主题: Re: [ceph-users] Full Ratio
Thank 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 <jelopez@xxxxxxxxxx> 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 <karunjosy1@xxxxxxxxx> 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
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph. com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com