MinIO 00:00:01 Six drives store one object A studio backs an object store with a MinIO erasure set. In this teaching configuration the object is represented by four data shards and two parity shards across six drives. Ask what information must survive a failure. Placement selects an erasure set for the object's shards. The object is cut into four pieces, one for each of four drives. Two more are computed. All six are sent at the same time. One drive does not answer. In this illustrated four-plus-two layout five writes succeed, enough to satisfy the example's write quorum. The client gets 200. The missing shard will be healed. The client acknowledgement depends on the required write quorum and successfully stored shards in the chosen configuration. An object can be readable while the cluster still needs healing. 00:00:57 How many shards are enough to read? Remove drives from the six-drive example one at a time. A parity shard contains reconstruction information and can help recover missing data through the erasure code. The four data shards are read and joined. Parity is not touched. With a data shard missing, use the available reconstruction information from the surviving shards. After two losses four suitable shards remain. That meets the read requirement in this example. Three shards cannot give four unknown pieces. With only three surviving shards, this four-data-shard layout lacks the required information. Count surviving shards of the actual object, not just healthy drives elsewhere in the cluster. 00:01:43 A replacement drive starts out empty A technician installs a new drive. Healthy hardware is now available, but the missing shards have not appeared on it yet. The object is exposed to another loss during that interval. Five shards are left. An empty drive takes its place. Four shards are read and the third data shard is computed. Full protection again. This is done for every object of the drive. Measure healing progress, free capacity and available bandwidth, along with drive health. A green replacement disk and a fully restored failure margin are different milestones. 00:02:22 Losing one host can remove several shards Switch to a separate sixteen-shard layout in which a physical node holds four drives. A rack or host failure is correlated. It does not behave like four failures separated by time for healing. Each node holds four shards of every object. With the illustrated twelve-data requirement, losing one four-drive node leaves exactly twelve shards. There is no remaining read margin in this case. A drive in node 1 fails before healing is done. Eleven are too few. Map shards onto physical failure domains before quoting a survival count. The game studio's promise has to hold for the outage it expects to face, including the rebuild window. 00:03:08 Spend capacity where the risk requires it Compare parity choices for a separate larger erasure set. More parity lowers usable payload capacity and increases the number of shard losses the code can tolerate for reads. In the illustrated set, two parity shards reserve less capacity for redundancy and allow at most two independent shard losses for reads. Raising the parity count increases the redundancy budget and reserves more raw capacity for it. With equal counts of data and parity shards, require one more than half for writes in this layout. When data and parity counts are equal, a write quorum larger than one half prevents two isolated halves from independently accepting writes. Read and write availability therefore need separate calculations.