MinIO

On this page 7

MinIO is a software-defined object storage server that implements the Amazon S3 API and runs on standard servers, virtual machines or Kubernetes. In server storage, it lets organizations build a private, S3-compatible storage tier for backups, data lakes, logs and application files without relying on a public cloud provider.

MinIO is written in Go and ships as a single binary, which makes it simple to deploy. It stores objects in buckets on local drives, protects them with erasure coding, and scales from a single test node to distributed clusters spanning many servers.

How MinIO stores and protects objects

MinIO organizes data as objects inside buckets, each object addressed by a key and carrying metadata, exactly as clients expect from S3. Instead of a central metadata database, MinIO writes metadata alongside each object on the drives, which removes a common bottleneck and single point of failure.

Drives are grouped into erasure sets. When an object is written, MinIO splits it into data shards and computes parity shards using Reed-Solomon coding, then spreads all shards across the drives of one set. The object can be read as long as enough shards survive, so the cluster tolerates the loss of several drives or even whole nodes.

Each shard is also protected by a checksum for bitrot detection. On read, or during a background scan, MinIO verifies the checksum and heals corrupted or missing shards from parity, which addresses silent data corruption that RAID controllers often miss.

Consistency is another design point. MinIO provides strict read-after-write consistency for new objects and overwrites, meaning a client that has received a successful write response will always read the new version. Writes require a write quorum of shards, and reads require a read quorum; if too many drives in a set are unavailable, the set rejects writes instead of risking inconsistent data. This behavior matters for analytics engines and backup software that list and read objects immediately after uploading them.

Deployment modes and parameters

MinIO supports several topologies that trade simplicity against resilience. The table below summarizes the common modes.

ModeLayoutData protectionTypical use
Single node, single driveOne server, one driveNone beyond the driveDevelopment and testing
Single node, multiple drivesOne server, several drivesErasure coding across drivesSmall on-site storage
Multi-node, multiple drivesSeveral servers, several drives eachErasure coding across nodesProduction clusters
Multi-site replicationIndependent clusters linkedAsynchronous or synchronous copiesDisaster recovery
MinIO deployment topologies

The parity level is the central design parameter. The table below shows how parity shards affect usable capacity and fault tolerance for a set of 16 drives.

Parity settingData and parity shardsUsable capacityDrives that may fail
EC:214 + 2About 87 %2
EC:412 + 475 %4
EC:610 + 6About 62 %6
EC:88 + 850 %Up to 8 for reads
Erasure parity in a 16-drive erasure set

Capacity grows by adding server pools, groups of nodes added as a unit. Existing pools are not restriped; new objects are placed according to free space, so expansion is quick but must be planned in uniform increments.

MinIO compared with other server storage

MinIO solves a different problem from block and file storage, and it overlaps only partly with broader platforms such as Ceph. The comparison below clarifies where it fits.

TechnologyAccess modelStrengthLimitation
MinIOS3 object APISimple, fast, S3-compatibleObjects only, no block or file access
CephObject, block and fileUnified, very flexibleComplex to operate
NAS with NFS or SMBShared file systemFamiliar for users and appsHarder to scale out
SAN with iSCSIBlock devicesLow latency for databasesNot suited to unstructured data
RAID on one serverLocal volumeLow costNo protection against node loss
MinIO and related storage approaches

MinIO also expects direct access to drives formatted with XFS rather than drives behind hardware RAID, because its own erasure coding and healing replace that function. Running it on top of RAID adds overhead and hides drive failures from the healing process.

Typical uses and features

Because nearly every modern backup, analytics and cloud-native tool can write to S3, MinIO is often used as a local S3 endpoint where public cloud is unsuitable for cost, latency or data residency reasons.

  • Backup targets for virtualization and database backup software, often with object locking to create immutable copies resistant to ransomware.
  • Data lake storage for Spark, Trino and machine learning pipelines reading Parquet or similar formats.
  • Application storage for user uploads, media and logs in Kubernetes environments.
  • Versioning, lifecycle rules and server-side encryption with keys held in an external key management service.

Limitations and operational pitfalls

MinIO is easy to start but demands careful planning for production. Network bandwidth is frequently the real bottleneck, since every write is spread across nodes; 25 Gbit/s or faster links are common in performance-focused clusters.

  • Small objects perform worse than large ones because metadata operations dominate; workloads with millions of tiny files may need batching.
  • Clock synchronization and consistent DNS names across nodes are required for a stable distributed cluster.
  • Mixed drive sizes within an erasure set waste capacity, because usable space follows the smallest drive.
  • Licensing has changed over time: the community edition moved to the GNU AGPLv3, and features and distribution of the free edition have since been reduced, so organizations should review the current terms before adopting it.

Stripped to the essentials

MinIO turns ordinary servers and disks into a private version of cloud object storage. Applications store files in it the same way they would store them in Amazon S3, but the data stays on hardware the organization controls.

To keep data safe, MinIO cuts every file into pieces and adds spare repair pieces, then spreads them over many disks. If some disks fail, the file can still be rebuilt from the pieces that remain.

Where it is applied

A hospital IT department must keep backups of its imaging archive on site for regulatory reasons, yet its backup software is designed to write to S3. The team deploys MinIO on four servers, each with twelve 16 TB drives, forming a cluster with EC:4 parity across erasure sets of 16 drives.

The cluster delivers roughly 570 TB of usable capacity from 768 TB of raw disk and keeps running if any single server goes offline. Backup jobs write with object locking set to a 30-day retention period, so even an administrator account compromised by ransomware cannot delete recent backups.

When a drive fails months later, MinIO heals the affected objects automatically onto the replacement drive, and nightly backups continue without interruption.