Date : 07/01/2026 21:45 Status : IMPLEMENTEE Priorite : HAUTE
Le dashboard affiche "NFS non monte" pour Proxmox1 alors que 2 montages NFS sont actifs :
192.168.1.4:/stock_36to/data -> /stock_36to/data
10.10.10.10:/stock_8to -> /mnt/stock_8to_speed
Ligne 249 de collect.sh cherche 192.168.1.10 mais les montages viennent de :
192.168.1.4 (ancienne IP PVE ?)10.10.10.10 (reseau stockage 10G)# Actuel (BUG)
PROXMOX1_NFS=$(ssh_cmd 192.168.1.155 "mount | grep -c '192.168.1.10' || echo 0")
Compter tous les montages NFS4 (plus fiable) :
# Corrige
PROXMOX1_NFS=$(ssh_cmd 192.168.1.155 "mount -t nfs4 | wc -l")
Ou chercher plusieurs IPs :
PROXMOX1_NFS=$(ssh_cmd 192.168.1.155 "mount | grep -cE '192.168.1.(4|10)|10.10.10.10' || echo 0")
/dev/sda1 29G 26G 1.9G 94% /
Consommateurs principaux : | Chemin | Taille | |--------|--------| | /var/lib/jellyfin | 4.2 Go | | /var/log/journal | 2.9 Go | | /var/lib/containerd | 2.1 Go | | /home | 6.1 Go | | /usr | 6.2 Go |
Journal systemd non limite = 2.9 Go de logs !
# Garder seulement 7 jours de logs
sudo journalctl --vacuum-time=7d
# OU garder max 500 Mo
sudo journalctl --vacuum-size=500M
# /etc/systemd/journald.conf
[Journal]
SystemMaxUse=500M
SystemKeepFree=1G
MaxFileSec=1week
Puis : sudo systemctl restart systemd-journald
# Si Docker n'est pas utilise sur Jellyfin
sudo apt remove docker.io containerd
# Gain : ~3 Go
Les metadonnees Jellyfin (4.2 Go) pourraient etre sur /mnt/stock_8to :
# Arreter Jellyfin
sudo systemctl stop jellyfin
# Deplacer les donnees
sudo mv /var/lib/jellyfin /mnt/stock_8to/33800-stack/jellyfin-data
sudo ln -s /mnt/stock_8to/33800-stack/jellyfin-data /var/lib/jellyfin
# Redemarrer
sudo systemctl start jellyfin
| Action | Gain estime |
|---|---|
| Vacuum journal | ~2.5 Go |
| Limite journal | Previent remplissage |
| Suppr docker | ~3 Go |
| Total possible | ~5.5 Go |
Disque apres : 26G - 5.5G = ~20.5G utilise (71% au lieu de 94%)
| Fichier | Action |
|---|---|
| /stock_8to/33800-stack/monitoring/collect.sh | Modifier ligne 249 |
| jellyfin:/etc/systemd/journald.conf | Modifier |
En attente de validation