I set up an Ubuntu rig to host Plex and act as a file server on my local network. I'm new to Ubuntu, so I followed directions and things seemed to be running fine--no problems with boot up or memory.
After about two or three weeks, I noticed Plex was running weird, so I decided it was time to run updates and restart the rig.
When I log back in, there's a text box saying memory was low. I find that odd, and figure that's something I can look into if it persists after a restart. I run restart, and start-up gets stuck on a black screen with white text telling me I have some hardware options are turned off in BIOS. After some Googling, I get into Recovery Mode and System Stats show my /
directory is at 99% capacity (19gb/20gb). I try running "Clean Up" and nothing happens. I opened root and ran sudo apt-get clean
and sudo apt-get autoremove
. No change. I even tried deleting everything in /tmp/*
. Still no change. How do I get the root directory small enough that I can boot again?
I realize 20gb is probably too low for the root directory; however, I don't want to resize partitions until I've had the chance to back-up the files on the system. I do have a second hard drive in the system that is untouched (I was planning on setting it up as the back-up drive), I don't know if that could be leveraged to find a solution here.
EDIT: Apologies for not including this info in the original post;
Ubuntu version 23.04. If I understand it correctly, the 4tb hard drive is partitioned into 20gb /
where it boots from, 100mb swap, and the rest in /home
.