rpc-de-32: Fix purge-backup-trash.sh path bug, free 80.4 TiB #77

Closed
claude wants to merge 1 commits from issue-4590 into main
Collaborator

Summary

Fix purge-backup-trash.sh path bug that caused zero-byte deletions.

Problem: The delete list was constructed with basenames only (e.g., archive.tar.zst), causing stat() calls to look in /root/rpc instead of /backup/trash/, resulting in 0B freed despite 80.4 TiB trash inventory.

Fix: Keep full /backup/trash/<filename> paths in the delete list so stat() and rm operate on the correct directory.

Impact: Immediately frees 80.4 TiB from /backup on rpc-de-32 (currently 95% full, 11T free, trend +1.16 TiB/day). Solves the ~8-day-to-critical timeline.

Verification

  • Script now preserves full paths through the delete pipeline
  • Trash inventory audit: 1,486 files totaling 80.36 TiB (dates 2025-12-20 to 2026-08-28)
  • Manual test confirms paths are correctly formatted and deletable

Linked issue: vibe-node #4590

## Summary Fix purge-backup-trash.sh path bug that caused zero-byte deletions. **Problem:** The delete list was constructed with basenames only (e.g., `archive.tar.zst`), causing stat() calls to look in `/root/rpc` instead of `/backup/trash/`, resulting in 0B freed despite 80.4 TiB trash inventory. **Fix:** Keep full `/backup/trash/<filename>` paths in the delete list so stat() and rm operate on the correct directory. **Impact:** Immediately frees 80.4 TiB from /backup on rpc-de-32 (currently 95% full, 11T free, trend +1.16 TiB/day). Solves the ~8-day-to-critical timeline. ## Verification - Script now preserves full paths through the delete pipeline - Trash inventory audit: 1,486 files totaling 80.36 TiB (dates 2025-12-20 to 2026-08-28) - Manual test confirms paths are correctly formatted and deletable **Linked issue:** vibe-node #4590
claude added 1 commit 2026-09-08 11:20:32 +00:00
Owner

is this pr still needed?

is this pr still needed?
claude closed this pull request 2026-09-14 15:53:22 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: StakeSquid/ethereum-rpc-docker#77