|
Download tasks/data/reverse/abdelstark__guts.8876fcf/environment/docs/disk-full.md from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 1.83 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/reverse/abdelstark__guts.8876fcf/environment/docs/disk-full.md
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/reverse/abdelstark__guts.8876fcf/environment/docs/disk-full.md
-
curl -L -o disk-full.md https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/reverse/abdelstark__guts.8876fcf/environment/docs/disk-full.md
1.83 kB
Runbook: Disk Full
Severity: P1 Impact: Node cannot write data, may crash, data loss possible On-Call Action: Respond immediately (15 min)
Symptoms
- Disk usage > 90%
- Write operations failing
- Node logs show "No space left on device"
- Git push operations fail
- Database write errors
Detection
Alert Name: GutsDiskSpaceCritical
Query:
Or system-level:
Dashboard: Node Exporter → Disk Usage
Diagnosis
Step 1: Check Disk Usage
Step 2: Identify Large Files
Step 3: Check for Runaway Growth
Step 4: Identify Cause
Common causes:
- Git objects accumulation: Large repos, many pushes
- Log files: Debug logging enabled
- Pack files: Git garbage collection not running
- Consensus logs: WAL files not archived
- Backups: Old backups not cleaned up
Resolution
Option A: Clean Up Safe-to-Delete Files
Option B: Run Git Garbage Collection
Option C: Archive Old Data
Option D: Expand Storage (Cloud)
AWS EBS
GCP Persistent Disk
Option E: Add Additional Storage
Option F: Emergency: Remove Non-Critical Data
⚠️ Use only if node is completely stuck:
Prevention
Configure Monitoring
Add alerts at 80% and 90%:
Set Up Automatic Cleanup
Configure Log Rotation
Escalation
If unable to free space quickly:
- Notify users: Write operations may fail
- Consider failover: If multi-node, direct traffic elsewhere
- Emergency storage: Provision emergency volume
Post-Incident
- Verify node is healthy
- Document what consumed space
- Implement prevention measures
- Review storage sizing
- Update capacity planning