Low disk space on “Filesystem root”

blackSabbath

New Member
Credits
12
Hello everyone,

I am struggling against disk space, There is only very few mb left. Did I installed more unnecessary packages/ software?

When I did --- "df -h", the output is this: Please help?
Screenshot from 2021-02-13 06-32-48.png
 


Alexzee

Well-Known Member
Credits
6,978
I'm not sure if you installed unnecessary packages or not:-

When you installed your Linux distro how much space did you allocate for your root fs?

What's the output of:
sudo fdisk -l that's a small letter L

Are you in a dual boot with another os?

You may want to start performing a backup now if you haven't already.
 

jglen490

Well-Known Member
Credits
4,106
Your / filesystem is very full, indicating that very likely you have excess kernel files that can be removed, or possibly you have installed a lot, or A LOT :) of apps. I'm guessing it's a kernel problem.

Also, while it's your choice, are you using SNAP-based applications on purpose?

To check on the kernel situation, open a terminal, traverse to the /boot directory
Code:
cd /boot
and then enter
Code:
ls -al
.

The output from the ls command should look something like:
Code:
[[email protected] boot]$ ls -al
total 195981
drwxr-xr-x  4 root root     4096 Feb  8 21:41 .
drwxr-xr-x 19 root root     4096 Feb 10 06:12 ..
-rw-r--r--  1 root root   248291 Jan 18 11:39 config-5.8.0-41-generic
-rw-r--r--  1 root root   248291 Feb  5 03:18 config-5.8.0-43-generic
drwx------  3 root root      512 Dec 31  1969 efi
drwxr-xr-x  4 root root     4096 Feb  8 21:41 grub
lrwxrwxrwx  1 root root       27 Feb  8 21:41 initrd.img -> initrd.img-5.8.0-43-generic
-rw-r--r--  1 root root 84537942 Feb  7 17:21 initrd.img-5.8.0-41-generic
-rw-r--r--  1 root root 84591445 Feb  8 21:41 initrd.img-5.8.0-43-generic
lrwxrwxrwx  1 root root       27 Feb  7 17:18 initrd.img.old -> initrd.img-5.8.0-41-generic
-rw-r--r--  1 root root   182704 Aug 18 05:46 memtest86+.bin
-rw-r--r--  1 root root   184380 Aug 18 05:46 memtest86+.elf
-rw-r--r--  1 root root   184884 Aug 18 05:46 memtest86+_multiboot.bin
-rw-------  1 root root  5515823 Jan 18 11:39 System.map-5.8.0-41-generic
-rw-------  1 root root  5515823 Feb  5 03:18 System.map-5.8.0-43-generic
lrwxrwxrwx  1 root root       24 Feb  8 21:41 vmlinuz -> vmlinuz-5.8.0-43-generic
-rw-r--r--  1 root root  9716640 Feb  3 20:46 vmlinuz-5.8.0-41-generic
-rw-------  1 root root  9716672 Feb  5 03:18 vmlinuz-5.8.0-43-generic
lrwxrwxrwx  1 root root       24 Feb  8 21:41 vmlinuz.old -> vmlinuz-5.8.0-41-generic
If you have significantly more entries than this, then you have a kernel problem, but easily fixable. Otherwise you may have an app problem.

Let's take on one problem at a time!
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online

Members online


Top