Size an Ozone cluster from four numbers: the logical data you hold, the protection scheme you choose, the free-space headroom you keep and the number of nodes the scheme needs. Three-way replication needs about three times the logical size in raw disk. Erasure coding with six data and three parity blocks needs about one and a half times, but needs at least nine DataNodes for each stripe.
Sizing
Work from your data, not from vendor hardware guides. Gather these inputs first:
- Logical data today, by dataset, and expected growth per year.
- File and object count today, and how many small files you will keep. See the small files runbook.
- Access pattern: hot data read often, or warm and cold data read rarely.
- Durability and recovery needs: how many failures you must survive, and how fast you must recover.
- Network speed between nodes, since recovery and reads cross it.
Then calculate in this order:
- Raw disk = logical data x protection factor.
- Usable target = keep headroom, so the cluster is never run to full. Pick the headroom with your operations team, as recovery needs free space.
- Node count = raw disk with headroom divided by disk per node, then raised to at least the stripe width if you use erasure coding, and to a number that survives your target node failures.
- Metadata sizing = memory and fast storage for the Ozone Manager and Storage Container Manager, sized to key count, not terabytes.
Cloudera documents up to 400 TB per Ozone DataNode, and the same page compares it with 100 TB for HDFS, as covered in Ozone vs HDFS. A dense node reduces the node count, and increases the data to rebuild if one fails. Plan network and recovery with that in mind.
Erasure coding vs replication
Ozone's default protection is three-way replication. It also supports erasure coding. The Apache Ozone erasure coding page and Cloudera's overview describe the details.
| Scheme | Disk for data | Overhead | Nodes needed per stripe | Notes |
|---|---|---|---|---|
| Replication, three copies (RATIS/THREE) | 3 times | About 200 percent | 3 | Simple, the default, strong for small files and hot data |
| Erasure coding RS-3-2-1024k | About 1.67 times | About 67 percent | 5 | Smaller layout for smaller clusters |
| Erasure coding RS-6-3-1024k | 1.5 times | 50 percent | 9 | Apache calls it the most recommended built-in option |
| Erasure coding RS-10-4-1024k | 1.4 times | 40 percent | 14 | Needs a large cluster |
The overhead figures follow from the scheme names: data blocks plus parity blocks, divided by data blocks. The Apache documentation gives the example that a six-block file takes 18 blocks under three-way replication and 9 under erasure coding with six data and three parity. Points to weigh:
- The documentation suggests erasure coding for warm and cold data with low I/O, and bucket-level settings.
- Changing a bucket's scheme affects new files only, and a file's scheme cannot be changed after creation.
- A read after a failure rebuilds data from parity, which is slower than a normal read.
- Files smaller than one stripe gain less, so test with your size mix.
- Cloudera notes Ozone does not support ISA-L.
Nodes
A cluster needs at least as many DataNodes as the stripe width, and in practice more, so that a node failure leaves somewhere to rebuild. Metadata services run on their own nodes. High availability usually means three Ozone Managers and three Storage Container Managers, so confirm the layout in your release guide.
| Role | Typical practice | Check |
|---|---|---|
| Ozone Manager | Three for high availability, on fast storage | Memory sized to key count |
| Storage Container Manager | Three for high availability | Container count growth |
| DataNode | As many as the stripe width needs plus spare | Disk per node and rebuild time |
| S3 Gateway | Two or more behind a load balancer if S3 is used | Capacity and health checks |
| Network | Fast, with room for rebuild traffic | Link speed and oversubscription |
Worked method with placeholders
Suppose you hold a placeholder 1,000 TB of logical data, and plan to keep 700 TB of it as large warm files and 300 TB as hot or small-file data. Use these as inputs to your own sheet, not as advice.
- Hot and small-file data under three-way replication: 300 TB x 3 = 900 TB raw.
- Warm data under RS-6-3: 700 TB x 1.5 = 1,050 TB raw.
- Raw total: 1,950 TB, against 3,000 TB if everything used three-way replication.
- Add your headroom, divide by disk per node, then check the node count is at least nine for the erasure coded buckets.
The arithmetic follows from the scheme definitions. The headroom, node size and growth are yours to supply.
Checklist
- Profile logical data, file counts and size bands.
- Choose protection per bucket class: replication for hot and small-file data, erasure coding for large warm and cold data.
- Calculate raw disk, headroom and node count, and check the stripe width.
- Size the metadata nodes for key count.
- Plan failure tests: a DataNode, a rack and a metadata node.
- Write the rebuild-time estimate down and share it with operations.
- Review sizing every six months against real growth.
Duczer East does this work in Apache Ozone sizing and design. For a scenario, see on-premises object storage with Ozone. Before you commit, compare the cost side in Ozone storage cost on premises.



