Luis Belo Posted August 12, 2020 Posted August 12, 2020 Hi, I have a Amlogix S905 with Armbian and The Home Assistant running on Docker. My problem is... i dont have any free space :( ... i have a simple instalation of Home assistant and i delete all the logs... See the picture and help me if you can :( How can i free space the storage? @ - Sorry for my porr english. Thanks,
Werner Posted August 12, 2020 Posted August 12, 2020 Find big files and remove them? I dont' get it...
Luis Belo Posted August 12, 2020 Author Posted August 12, 2020 But this file isn't were is installed all the OS + Docker + Home Assistant? I´am afraid delete the file and.... lost all my configuration
Werner Posted August 12, 2020 Posted August 12, 2020 Something filled up your space. It is up to you to investigate what the reason is. You can try to search for big directories with commands like "du -a / | sort -n -r | head -n 10" Found via web: https://duckduckgo.com/?t=ffab&q=linux+find+big+files&ia=web
Luis Belo Posted August 12, 2020 Author Posted August 12, 2020 Is any way to enter inside of this "partition" and delete unwanted files? I dont have any backup of my config :(:(:(:( I dont want lost all my hours in Hoem Assistant
Tido Posted August 12, 2020 Posted August 12, 2020 Your / (root) filesystem is full. Providing logs with armbianmonitor -u maybe we can see more details
JMCC Posted August 12, 2020 Posted August 12, 2020 Or you can clone the SD card to a larger one, and then use parted (or gparted) to resize the root partition to fill the bigger SD card.
Tido Posted August 13, 2020 Posted August 13, 2020 My little docker knowledge, I guess the container grew above and beyond, but @Luis Belo is looking at the logs of armbian - this is like searching in the kitchen for the bathtub. docker ps -a lists all Container docker exec -it put-here-your-containername bash once in the container do: cd / && ls -la Now your are in the container and can clean its log file.
Tido Posted August 13, 2020 Posted August 13, 2020 1 hour ago, xwiggen said: docker image prune -a You explain nothing about that command - good for you to know exactly what it does. 1
xwiggen Posted August 13, 2020 Posted August 13, 2020 1 hour ago, Tido said: You explain nothing about that command - good for you to know exactly what it does. What it does is prune images that are not in use by containers, but that's pretty much what the command says.
Luis Belo Posted August 13, 2020 Author Posted August 13, 2020 Any advice with this print? Nothing happens
Werner Posted August 14, 2020 Posted August 14, 2020 On 8/12/2020 at 7:23 PM, Werner said: Something filled up your space. It is up to you to investigate what the reason is. You can try to search for big directories with commands like "du -a / | sort -n -r | head -n 10" Found via web: https://duckduckgo.com/?t=ffab&q=linux+find+big+files&ia=web Please try this or something similar to get an idea where on your sdcard are big files hidden.
Recommended Posts