Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
179 lines
3.7 KiB
Markdown
179 lines
3.7 KiB
Markdown
# r630-02 Storage Fixes Applied
|
|
|
|
**Last Updated:** 2026-01-31
|
|
**Document Version:** 1.0
|
|
**Status:** Active Documentation
|
|
|
|
---
|
|
|
|
**Date:** 2026-01-15
|
|
**Host:** r630-02 (192.168.11.12)
|
|
**Status:** ✅ **FIXES APPLIED**
|
|
|
|
---
|
|
|
|
## Actions Taken
|
|
|
|
### 1. ✅ Expanded Container 7811 Disk (CRITICAL)
|
|
|
|
**Issue:** Container 7811 was 94.8% full with 0GB available.
|
|
|
|
**Action:**
|
|
- Expanded disk from 30GB to 50GB (+20GB)
|
|
|
|
**Command:**
|
|
```bash
|
|
pct resize 7811 rootfs +20G
|
|
```
|
|
|
|
**Result:**
|
|
- ✅ Disk expanded successfully
|
|
- Container now has ~20GB additional free space
|
|
- Prevents container from running out of space
|
|
|
|
---
|
|
|
|
### 2. ✅ Removed Duplicate thin1 Volumes
|
|
|
|
**Issue:** ~300GB of duplicate volumes on thin1-r630-02 pool.
|
|
|
|
**Action:**
|
|
- Verified containers are using thin2 (not thin1)
|
|
- Removed duplicate volumes from thin1:
|
|
- vm-5000-disk-0 (200GB)
|
|
- vm-6200-disk-0 (50GB)
|
|
- vm-6201-disk-0 (50GB)
|
|
|
|
**Commands:**
|
|
```bash
|
|
lvremove -f /dev/thin1/vm-5000-disk-0
|
|
lvremove -f /dev/thin1/vm-6200-disk-0
|
|
lvremove -f /dev/thin1/vm-6201-disk-0
|
|
```
|
|
|
|
**Result:**
|
|
- ✅ ~300GB recovered on thin1-r630-02 pool
|
|
- thin1-r630-02 pool usage reduced from 88.51% to ~0%
|
|
|
|
---
|
|
|
|
### 3. ✅ Archived Old Backup Files
|
|
|
|
**Issue:** 7.2GB of backup files older than 30 days.
|
|
|
|
**Action:**
|
|
- Created archive directory: `/var/lib/vz/archive`
|
|
- Moved backups older than 30 days to archive
|
|
|
|
**Result:**
|
|
- ✅ Old backups archived
|
|
- Space freed on local storage
|
|
- Backups preserved in archive location
|
|
|
|
---
|
|
|
|
### 4. ✅ Moved Container 6201 to thin3
|
|
|
|
**Issue:** Container 6201 on thin2 pool (88.33% full).
|
|
|
|
**Action:**
|
|
- Moved container 6201 from thin2 to thin3 pool
|
|
|
|
**Command:**
|
|
```bash
|
|
pct move-volume 6201 rootfs thin3
|
|
```
|
|
|
|
**Result:**
|
|
- ✅ Container moved to thin3 (empty pool)
|
|
- thin2 pool usage reduced
|
|
- Better distribution of containers across pools
|
|
|
|
---
|
|
|
|
## Storage Status After Fixes
|
|
|
|
### Pool Usage
|
|
|
|
| Pool | Before | After | Improvement |
|
|
|------|--------|-------|-------------|
|
|
| thin1-r630-02 | 88.51% | ~0% | ✅ ~300GB recovered |
|
|
| thin2 | 88.33% | ~70% | ✅ ~50GB freed |
|
|
| thin3 | 0% | ~2% | ✅ Now in use |
|
|
| thin4 | 12.69% | ~13% | ✅ Container 7811 expanded |
|
|
|
|
### Container Status
|
|
|
|
| Container | Pool | Disk Size | Status |
|
|
|-----------|------|-----------|---------|
|
|
| 5000 | thin2 | 200GB | ✅ Healthy |
|
|
| 6200 | thin2 | 50GB | ✅ Healthy |
|
|
| 6201 | thin3 | 50GB | ✅ Moved |
|
|
| 7811 | thin4 | 50GB | ✅ Expanded |
|
|
|
|
---
|
|
|
|
## Space Recovery Summary
|
|
|
|
| Action | Space Recovered | Location |
|
|
|--------|----------------|----------|
|
|
| Removed duplicate thin1 volumes | ~300GB | thin1-r630-02 |
|
|
| Moved container 6201 | ~50GB freed | thin2 |
|
|
| Archived old backups | ~7GB | local |
|
|
| **Total Recovery** | **~357GB** | |
|
|
|
|
---
|
|
|
|
## Improvements
|
|
|
|
### Before Fixes
|
|
- 🔴 2 pools at 88%+ capacity
|
|
- 🔴 1 container at 94.8% full
|
|
- 🔴 ~300GB duplicate volumes
|
|
- 🔴 7.2GB old backups
|
|
|
|
### After Fixes
|
|
- ✅ 0 pools at critical capacity
|
|
- ✅ All containers have adequate space
|
|
- ✅ Duplicate volumes removed
|
|
- ✅ Old backups archived
|
|
- ✅ Better container distribution
|
|
|
|
---
|
|
|
|
## Verification
|
|
|
|
**Storage Pools:**
|
|
- ✅ thin1-r630-02: Recovered ~300GB
|
|
- ✅ thin2: Usage reduced
|
|
- ✅ thin3: Now utilized
|
|
- ✅ thin4: Container expanded
|
|
|
|
**Containers:**
|
|
- ✅ Container 7811: Disk expanded to 50GB
|
|
- ✅ Container 6201: Moved to thin3
|
|
- ✅ All containers operational
|
|
|
|
---
|
|
|
|
## Next Steps
|
|
|
|
1. **Monitor:**
|
|
- Watch thin pool usage trends
|
|
- Monitor container disk usage
|
|
- Track storage growth
|
|
|
|
2. **Maintenance:**
|
|
- Continue archiving old backups
|
|
- Review storage allocation quarterly
|
|
- Plan for future expansion
|
|
|
|
3. **Optimization:**
|
|
- Consider moving more containers to empty pools
|
|
- Implement backup retention policy
|
|
- Set up storage alerts
|
|
|
|
---
|
|
|
|
**Last Updated:** 2026-01-15
|