#5667 (/dev/sda1 on LF is 97% full)
by Luc Saffre · in Hosting (system administration) · assigned to hannes
Summary
Children
Comments
- 2 years, 3 months ago by hannes about #5667 (/dev/sda1 on LF is 97% full) : Added a cron job (docker) to /etc/cron.weekly. The corresponding logfile is /var/log/docker.log.
- 2 years, 4 months ago by Luc Saffre about #5667 (/dev/sda1 on LF is 97% full) (1 reply) : @hannes and also please add a weekly cron job that says "docker system df" (but you must add some command-line option to avoid the interactive confirmation prompt).
- 2 years, 4 months ago by Luc Saffre about #5667 (/dev/sda1 on LF is 97% full) : I said "sudo du / -h | grep '[0-9\.]\+G'" (as advised on [url hosting.lino-framework.org/du/]), which shows that docker is the "culprit". So I ran "sudo docker system prune" (as advised on [url getlino.lino-framework.org/docker.html#docker-uses-much-disk-space]). Now /dev/sda1 is back a 55% usage.
- 2 years, 4 months ago by Luc Saffre about #5667 (/dev/sda1 on LF is 97% full) (1 reply) : /etc/monit/conf.d/lino.conf says "check device ROOT with path / if SPACE usage > 95% then alert", so why did monit not alert us?
- 2 years, 4 months ago by Luc Saffre about #5667 (/dev/sda1 on LF is 97% full) : Created new Ticket #5667 (/dev/sda1 on LF is 97% full).