Disk hygiene after 2026-07-13 build drain — MC #105584
Disk hygiene after 2026-07-13 build drain — MC #105584
Book: System Architecture Status: Completed + verified — MC #105584 (2026-07-14)
Why
During MC #105462 the Mac Studio data volume reached 94% capacity with only 53Gi available. Findings pointed to Docker build activity, Gradle dependency/cache growth, and Time Machine/APFS local snapshots pinning deleted blocks.
Baseline
Verified before cleanup:
/System/Volumes/Data:815Gi used / 53Gi avail / 94%- Docker:
Images 16 / 10.95GB,Local Volumes 40 / 16.71GB,Build Cache 286 / 9.256GB - Running Docker containers: 11
- Local snapshots: 23 Time Machine local snapshots plus 3 OS update snapshots
~/.gradle: 8.4G
Actions
- Captured active Docker image allowlist from running containers.
- Removed stopped Buildx builders:
bilko-manual-web-builderbilko-api-builder
- Pruned stopped/unused Docker objects:
docker container prune -fdocker image prune -a -fdocker builder prune -a --filter until=24h -fdocker builder prune -a -f
- Thinned Time Machine local snapshots:
tmutil thinlocalsnapshots / 100000000000 4
- Wrote Gradle cache retention policy at:
/Users/makinja/system/reports/disk-hygiene-105584/gradle-cache-policy.md
Result
Verified after cleanup:
/System/Volumes/Data:613Gi used / 255Gi avail / 71%- APFS container free:
273.9 GB - Docker images:
5 / 2.366GB - Docker build cache:
0B - Docker local volumes:
36 / 5.305GB - Remaining Docker containers: 11, all running
What was intentionally not pruned
No blind docker volume prune was run. Remaining reclaimable Docker volumes include service/product data such as LightRAG, monitoring, SonarQube, Documenso, and product DB volumes.
Gradle caches were not deleted because the disk target was already met after snapshot thinning. Policy is to keep modules-2, wrapper/dists, and jdks by default; only ephemeral .tmp, daemon state, and local build-cache entries should be cleaned during routine hygiene.
Evidence
Local evidence directory:
/Users/makinja/system/reports/disk-hygiene-105584/
Important files:
baseline-20260714-001538.txtpreaction-20260714-001616.txtdocker-clean-20260714-001706.txtdocker-buildcache-final-20260714-001720.txtsnapshot-thin-20260714-001730.txtfinal-verification-20260714-001928.txtsummary.mdgradle-cache-policy.md
No comments to display
No comments to display