18장. Setting Ceph OSD full thresholds


You can set Ceph OSD full thresholds using the ODF CLI tool or by updating the StorageCluster CR.

18.1. Setting Ceph OSD full thresholds using the ODF CLI tool

You can set Ceph OSD full thresholds temporarily by using the ODF CLI tool. This is necessary in cases when the cluster gets into a full state and the thresholds need to be immediately increased.

Prerequisites

  • Download the OpenShift Data Foundation command line interface (CLI) tool. With the Data Foundation CLI tool, you can effectively manage and troubleshoot your Data Foundation environment from a terminal. You can find a compatible version and download the CLI tool from the customer portal.

Procedure

Use the set command to adjust Ceph full thresholds. The set command supports the subcommands full, backfillfull, and nearfull. See the following examples for how to use each subcommand.

full

This subcommand allows updating the Ceph OSD full ratio in case Ceph prevents the IO operation on OSDs that reached the specified capacity. The default is 0.85.

참고

If the value is set too close to 1.0, the cluster becomes unrecoverable if the OSDs are full and there is nowhere to grow.

For example, set Ceph OSD full ratio to 0.9 and then add capacity:

$ odf set full 0.9

For instructions to add capacity for you specific use case, see the Scaling storage guide.

If OSDs continue to be in stuck, pending, or do not come up at all:

  1. Stop all IOs.
  2. Increase the full ratio to 0.92:

    $ odf set full 0.92
  3. Wait for the cluster rebalance to happen. Once cluster rebalance is complete, change the full ratio back to its original value of 0.85:

    $ odf set full 0.85

backfillfull

This subcommand allows updating the Ceph OSDd backfillfull ratio in case Ceph denies backfilling to the OSD that reached the capacity specified. The default value is 0.80.

참고

If the value is set too close to 1.0, the OSDs become full and the cluster is not able to backfill.

For example, to set backfillfull to 0.85:

$ odf set backfillfull 0.85

nearfull

This subcommand allows updating the Ceph OSD nearfull ratio in case Ceph returns the nearfull OSDs message when the cluster reaches the capacity specified. The default value is 0.75.

For example, to set nearfull to 0.8:

$ odf set nearfull 0.8
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동