docs(rustfs): measure the erasure ratio instead of assuming it #447
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/rustfs-erasure-measured"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every capacity number in the MinIO migration rests on RustFS storing 2 raw bytes per logical byte. That was an assumption, and the manifest carried an instruction to go measure it before the zot move relied on 220 GiB.
Measured now, against the resized cluster:
rustfs-0..rustfs-3So 4 x 110Gi = 440 GiB raw is ~220 GiB usable. MinIO holds 144 GiB, leaving roughly 76 GiB of headroom — enough for the 136 GiB
zotbucket, which is the step that would otherwise have failed.Method
The payload came from
/dev/urandom, not/dev/zero. The ZFS datasets under these claims have compression on, so a compressible payload measures the compressor and reports a flattering ratio that real object data would never reproduce. 1 GiB is also large enough that per-object metadata is noise.Also recorded: deletes reclaim asynchronously
Removing the probe bucket returned the drives from 525568 KiB to 256-384 KiB over about four minutes, not immediately. Anything that reads free space straight after a delete gets a stale number — relevant when Phase 5 reclaims MinIO's 550 GiB, and when a mirror is retried.
No behaviour change: comment and documentation only.
https://claude.ai/code/session_01KZoQin34jeyt6nDGqvJA76