storage_used_bytes) are distinct events. Attached disk snapshots can keep deleted blocks allocated, and the disk image may retain reusable blocks until you run Storage Reclaim.
Storage Reclaim operates on a stopped Computer (computer(id).storage.reclaim()), preserves your Computer ID, visible files, and retained snapshots, and reports Account usage before and after reclamation. It is available for Computers only (not Sandboxes) and does not shrink virtual disk geometry or automatically delete files.
Distinguish Guest space from Account Storage
When
storage_status is over_limit, growth operations (Create, Clone, Snapshot) fail with STORAGE_LIMIT_EXCEEDED. You can still Start an existing Computer to clean up data (subject to active entitlement and running Memory), and Reclaim itself is allowed while over_limit.
1
Inspect and clean disposable files inside the Guest
Connect over SSH or Exec and inspect actual usage before removing specific files you own:Delete only verified disposable artifacts (
rm -- '<REVIEWED_FILE>'). When supported inside the Guest, fstrim -av hints unused filesystem blocks—though fstrim output is not an Account quota credit; resources.get() remains the authoritative measurement. Review obsolete snapshots separately and delete only checkpoints you no longer need.2
Explicitly Stop the Computer
Save work and Stop the Computer (in the Console, Stop, then open Settings → Advanced → Reclaim disk space → Reclaim deleted space).
3
Run Storage Reclaim and verify Account usage
4
Start again only if needed
Reclaim leaves the Computer
stopped (releasing running Memory). Call computer.start() when you are ready to cold-boot and verify retained files, or leave it stopped to keep disk files without consuming running RAM.Interpret outcome accurately
completed: Supported reclamation ran and reports observed Account bytes before/after (not a guaranteed percentage or fixed byte savings).no_change: Confirmed no-change outcome—not an instruction to delete more files automatically.- Snapshots & concurrent writes: Because
storage_used_before_bytesandstorage_used_after_bytesmeasure the whole Account, retained snapshots or concurrent writes on another Machine can keep usage flat or even raise it.
Failure and recovery
See Account resources, Disk snapshots and restore, and Errors.