Garage S3: LMDB Corruption Post-Mortem

Yesterday I was migrating my data from an rclone-mounted bucket to a proper OpenCloud setup backed by my home Garage S3 cluster. Things were going smoothly: files copying over, users importing, the new stack finally taking shape. Then the power went out. When the server came back, Garage refused to start. The LMDB metadata database was completely corrupted, rendering the cluster inoperable. The…