No space left

Bonjour,

J’ai un bug, l’espace tmp est a 34% et cela fonctionne


Lorsque je fais une mise a jour, ça bloque

Et l’espace tmp passe a 0%

Df me donne ça, mais j’ai beaucoup de mal a interpréter

Quelqu’un peut il m’aider?

Redémarres la box, ca va libérer le /tmp
C’est le plus simple

J’ai redémarré, plusieurs fois, cela ne fonctionne malheureusement pas

J’ai vu sur un autre post que cela pouvait aider

> pi@pi:~ $ sudo  du /tmp -Sha -t 1M
> 1.2M    /tmp/jeedom/cache/96
> 1.6M    /tmp/jeedom/cache/7e

Et


> pi@pi:~ $ ls -la /tmp
> total 48
> drwxrwxrwt 13 root root 4096 Apr 10 20:18 .
> drwxr-xr-x 20 root root 4096 Apr  8 20:52 ..
> drwxrwxrwt  2 root root 4096 Apr 10 19:49 .font-unix
> drwxrwxrwt  2 root root 4096 Apr 10 19:49 .ICE-unix
> drwxrwxrwt 11 root root  260 Apr 10 19:51 jeedom
> drwx------  2 root root 4096 Apr 10 19:50 runtime-root
> drwx------  2 root root 4096 Apr 10 19:49 snap-private-tmp
> drwx------  3 root root 4096 Apr 10 19:49 systemd-private-335d6b4ecdbc48a79a2db9688a9de310-bluetooth.service-b04ahU
> drwx------  3 root root 4096 Apr 10 19:49 systemd-private-335d6b4ecdbc48a79a2db9688a9de310-ModemManager.service-EqanRy
> drwx------  3 root root 4096 Apr 10 19:49 systemd-private-335d6b4ecdbc48a79a2db9688a9de310-ntpsec.service-2ZoozD
> drwx------  3 root root 4096 Apr 10 19:49 systemd-private-335d6b4ecdbc48a79a2db9688a9de310-systemd-logind.service-xlyqra
> drwxrwxrwt  2 root root 4096 Apr 10 19:49 .X11-unix
> drwxrwxrwt  2 root root 4096 Apr 10 19:49 .XIM-unix

Faut utiliser un Texte préformaté et pas une citation

Yes, c’est formaté

J’ai vu que
sudo nano /etc/fstab

Et modifié…en passant a 512M
tmpfs defaults,size=512M

L’Espace disque libre tmp est passé a 67 %

Je ne sais pas, si cela repond au problème

J’ai modifié fstab a 512m, mais je démarre et le tmp est a 65%.

Y aurait il des raisons pour que le tmp ne se vide pas en redémarrant ?

Oui, ce n’est pas le comportement par défaut. /tmp n’est pas nettoyé au démarrage.
Ca peut être paramétré par contre, mais attention à bien savoir ce qu’il y a dedans… Il pourrait y avoir des données volatiles mais qui te permettront de repartir sur un état particulier après reboot.

Liste peut être ce qu’il y a dedans…

Norbert