Ask Your Question
0

Low disk space on filesystem root - Fedora 28

asked 2018-07-03 16:19:54 -0600

nicolasr04 gravatar image

Hi everybody. I start saying that I'm totally new to the Linux world. I installed the latest version of fedora one week ago, shrinking 23 gb of space, partitioning from my Windows (I actually have dual boot, Windows 10 and Fedora 28). After setting up all the required things, I installed VirtualBox. I then installed the Kali Linux ISO onto the machine, . While doing the installation of Kali, the computer started lagging, and showed up this message: "Low disk space on filesystem root". I then run the df -h command, but I don't fairly get the point of the situation. Here below the script I run.

[ethicalhacker@new-host-2 ~]$ df -h
Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                 1.7G     0  1.7G   0% /dev
tmpfs                    1.7G   22M  1.7G   2% /dev/shm
tmpfs                    1.7G  1.9M  1.7G   1% /run
tmpfs                    1.7G     0  1.7G   0% /sys/fs/cgroup
/dev/mapper/fedora-root   20G   19G   55M 100% /
tmpfs                    1.7G  148K  1.7G   1% /tmp
/dev/sda7                976M  173M  737M  19% /boot
/dev/sda2                256M  119M  138M  47% /boot/efi
tmpfs                    339M   16K  339M   1% /run/user/42
tmpfs                    339M  5.7M  333M   2% /run/user/1000

[ethicalhacker@new-host-2 ~]$ sudo du -hs /*
[sudo] password for ethicalhacker: 
0   /bin
289M    /boot
0   /dev
30M /etc
11G /home
0   /lib
0   /lib64
16K /lost+found
4.0K    /media
4.0K    /mnt
4.0K    /opt
du: cannot access '/proc/5406/task/5406/fd/3': No such file or directory
du: cannot access '/proc/5406/task/5406/fdinfo/3': No such file or directory
du: cannot access '/proc/5406/fd/3': No such file or directory
du: cannot access '/proc/5406/fdinfo/3': No such file or directory
0   /proc
52K /root
du: cannot access '/run/user/1000/gvfs': Permission denied
2.0M    /run
0   /sbin
4.0K    /srv
0   /sys
12K /tmp
5.0G    /usr
2.9G    /var
[ethicalhacker@new-host-2 ~]$ 

I don't really know what to do. Maybe should I delete some awful files, or just add space? If you (probably) need further information, just ask me.

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
0

answered 2018-07-04 05:55:39 -0600

nicolasr04 gravatar image

You have only 20 GB for both Fedora and your data and that definitely isn't much. Your data (your /home folder) currently take 11 GB so you should probably try to remove something from there. You can try to run commands below to remove some stuff from /var (logs and caches) but 20 GB is just not enough to run Fedora and another Linux distribution in a VM. sudo dnf clean all -- clean dnf cache (downloaded packages) sudo journalctl --vacuum-size=100M -- limit system log size to 100 MB

Ok, thanks for your answer. Can you please tell me how much space should I increase and the way to do it?

edit flag offensive delete link more

Comments

I have a system with ~200GiB and a lot of large software packages installed (TeX, Eclipse IDE, debug symbols…). Unless you install larger software packets, 80…100GB should be enough in 2018.

genodeftest gravatar imagegenodeftest ( 2018-07-08 01:08:46 -0600 )edit

This is a comment to @vtrefny's answer. Please keep comments there.

genodeftest gravatar imagegenodeftest ( 2018-07-08 01:09:52 -0600 )edit
2

answered 2018-07-04 01:47:42 -0600

vtrefny gravatar image

updated 2018-07-04 01:48:58 -0600

You have only 20 GB for both Fedora and your data and that definitely isn't much. Your data (your /home folder) currently take 11 GB so you should probably try to remove something from there. You can try to run commands below to remove some stuff from /var (logs and caches) but 20 GB is just not enough to run Fedora and another Linux distribution in a VM.

sudo dnf clean all -- clean dnf cache (downloaded packages)

sudo journalctl --vacuum-size=100M -- limit system log size to 100 MB

edit flag offensive delete link more

Comments

You have only 20 GB for both Fedora and your data and that definitely isn't much. Your data (your /home folder) currently take 11 GB so you should probably try to remove something from there. You can try to run commands below to remove some stuff from /var (logs and caches) but 20 GB is just not enough to run Fedora and another Linux distribution in a VM. sudo dnf clean all -- clean dnf cache (downloaded packages) sudo journalctl --vacuum-size=100M -- limit system log size to 100 MB

Ok, thanks for your answer. Can you please tell me how much space should I increase and the way to do it?

nicolasr04 gravatar imagenicolasr04 ( 2018-07-04 03:17:20 -0600 )edit

I have a system with ~200GiB and a lot of large software packages installed (TeX, Eclipse IDE, debug symbols…). Unless you install larger software packets, 80…100GB should be enough in 2018.

genodeftest gravatar imagegenodeftest ( 2018-07-08 01:09:06 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-07-03 16:06:00 -0600

Seen: 1,950 times

Last updated: Jul 04 '18