Implementation : RAIDZ + GitLab Migration + Downloads
Date debut : 08/01/2026 01:30
Date fin : 08/01/2026 02:00
Status : TERMINE
Contexte
Suite a la validation des propositions :
/home/gouroubleu/propositions/08-01-2026-raidz-gitlab-cleanup.md
/home/gouroubleu/propositions/08-01-2026-strategie-fichiers-consultation.md
Reponses utilisateur :
- NFS via 10.10.10.x (reseau speed)
- Auto-deploy pour nginx-configs : Oui
- Collecte logs Docker : Oui
- Retention logs : 1 mois (31 jours)
Priorite 1 : GitLab Migration (CRITIQUE - 91% disque) - TERMINE
Etapes
- [x] 1.1 Creer dataset
stock_1to/gitlab-data sur Proxmox1
- [x] 1.2 Configurer export NFS via 192.168.1.155 (Proxmox1 n'a pas de 10G)
- [x] 1.3 Arreter GitLab et migrer donnees (1.6G git-data)
- [x] 1.4 Configurer montage NFS sur VM GitLab (/mnt/gitlab-nfs)
- [x] 1.5 Reconfigurer gitlab.rb (gitaly storage path)
- [x] 1.6 Supprimer backups locaux GitLab (21G recuperes - 91% → 44%)
- [x] 1.7 Tester fonctionnement GitLab (API OK, projets accessibles)
Crons
- [x] 1.8 Garder rsync 1to horaire (meilleure protection)
- [x] 1.9 Simplifier cron gitlab_backup (supprime rsync redondants)
Priorite 2 : Structure Downloads - TERMINE
Etapes
- [x] 2.1 Creer structure
/stock_8to/33800-stack/monitoring/downloads/
- [x] 2.2 Ajouter route nginx
/download/ (restriction IP local)
- [x] 2.3 Configurer rotation 31 jours (
/etc/cron.daily/cleanup-monitoring-downloads)
Priorite 3 : Collecte Logs (collect.sh) - TERMINE
Logs collectes
- [x] 3.1 rsync-stock8.log (tail -1000)
- [x] 3.2 rsync-stock1to.log (SSH proxmox1)
- [x] 3.3 gitlab-services.log (journalctl gitlab-runsvdir)
- [x] 3.4 nginx-access.log / nginx-error.log
- [x] 3.5 docker-prod.log (5 containers)
- [x] 3.6 monitoring-collect.log
Configs collectees
- [x] 3.7 nginx all-sites.conf
- [x] 3.8 crontabs (pve-gouroubleu.cron, pve-system.cron)
- [x] 3.9 zfs-status.txt, zfs-list.txt, zpool-list.txt, disk-usage.txt
Priorite 4 : Page RAIDZ Dashboard - TERMINE
Etapes
- [x] 4.1 Ajouter collecte tailles dossiers dans collect.sh
- [x] 4.2 Creer page
raidz.html dans generate.sh (~370 lignes)
- [x] 4.3 Integrer dans navigation dashboard
Priorite 5 : Repo nginx-configs - REPORTE
Etapes (a faire plus tard)
- [ ] 5.1 Creer repo
nginx-configs sur GitLab
- [ ] 5.2 Ajouter configs existantes
- [ ] 5.3 Script auto-deploy (webhook ou cron pull)
Priorite 6 : Cleanup Proxmox1 - REPORTE
Etapes (a faire plus tard)
- [ ] 6.1 apt clean + autoremove
- [ ] 6.2 journalctl vacuum 7d
- [ ] 6.3 Supprimer anciens kernels
- [ ] 6.4 Documenter espace recupere
Journal de progression
| Date/Heure |
Action |
Resultat |
| 08/01 01:30 |
Creation fichier tache |
OK |
| 08/01 01:32 |
Creation structure downloads |
OK |
| 08/01 01:35 |
Route nginx /download/ |
OK |
| 08/01 01:40 |
Collecte logs dans collect.sh |
OK |
| 08/01 01:42 |
Cron rotation 31j |
OK |
| 08/01 01:45 |
Dataset gitlab-data sur Proxmox1 |
OK |
| 08/01 01:47 |
Export NFS gitlab-data |
OK |
| 08/01 01:50 |
Migration donnees GitLab |
OK |
| 08/01 01:55 |
Reconfigure gitlab.rb (gitaly) |
OK |
| 08/01 01:57 |
Test GitLab + suppression backups |
21G recuperes |
| 08/01 02:00 |
Page RAIDZ generee et deployee |
OK |
Notes techniques
IP Proxmox1 reseau stockage
- 10.10.10.155 (pas 192.168.1.155 pour NFS)
Structure downloads
/stock_8to/33800-stack/monitoring/downloads/
├── logs/
├── configs/
│ ├── nginx/
│ ├── cron/
│ └── systemd/
└── data/