此内容没有您所选择的语言版本。

Chapter 29. Set the Number of Object Replicas


To set the number of object replicas on a replicated pool, execute the following:

ceph osd pool set <poolname> size <num-replicas>
Copy to Clipboard Toggle word wrap
Important

The <num-replicas> includes the object itself. If you want the object and two copies of the object for a total of three instances of the object, specify 3.

For example:

ceph osd pool set data size 3
Copy to Clipboard Toggle word wrap

You may execute this command for each pool. Note: An object might accept I/Os in degraded mode with fewer than pool size replicas. To set a minimum number of required replicas for I/O, you should use the min_size setting. For example:

ceph osd pool set data min_size 2
Copy to Clipboard Toggle word wrap

This ensures that no object in the data pool will receive I/O with fewer than min_size replicas.

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat