Low disk space on “Filesystem root” 500 megabytes disk remaining

suryapts007

New Member
Credits
13
Hello everyone,

I am struggling against disk space, regarding root location.

Seems like I have reached almost 100% usage, and cannot find a way to regain space.

Though, I have installed ubuntu 20.04 just 14 days ago and assigned 20gb of root space.

When I do df -h, it gives following output:

Code:
Filesystem      Size  Used Avail Use% Mounted on
udev            3.8G     0  3.8G   0% /dev
tmpfs           778M  2.1M  776M   1% /run
/dev/nvme0n1p5   20G   18G  866M  96% /
tmpfs           3.8G  582M  3.3G  15% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
/dev/loop0      232M  232M     0 100% /snap/atom/265
/dev/loop1      216M  216M     0 100% /snap/atom/270
/dev/loop2      144M  144M     0 100% /snap/code/52
/dev/loop3      218M  218M     0 100% /snap/gnome-3-34-1804/60
/dev/loop4      219M  219M     0 100% /snap/gnome-3-34-1804/66
/dev/loop5       63M   63M     0 100% /snap/gtk-common-themes/1506
/dev/loop6       65M   65M     0 100% /snap/gtk-common-themes/1514
/dev/loop7       30M   30M     0 100% /snap/snapd/8542
/dev/loop8      291M  291M     0 100% /snap/vlc/1700
/dev/loop9       98M   98M     0 100% /snap/core/10583
/dev/nvme0n1p1  256M   34M  223M  13% /boot/efi
/dev/loop11      50M   50M     0 100% /snap/snap-store/467
/dev/loop12      58M   58M     0 100% /snap/sublime-text/97
/dev/loop10      52M   52M     0 100% /snap/snap-store/518
/dev/loop14      55M   55M     0 100% /snap/core18/1880
/dev/loop13     176M  176M     0 100% /snap/postman/130
/dev/loop15      62M   62M     0 100% /snap/core20/904
/dev/loop16      32M   32M     0 100% /snap/snapd/10707
/dev/loop17      56M   56M     0 100% /snap/core18/1944
/dev/nvme0n1p7   59G  8.1G   48G  15% /home
tmpfs           778M   36K  778M   1% /run/user/1000

When I do sudo du -hs /*, it gives following output:

Code:
546M    bin/
234M    boot/
4.0K    cdrom/
0    dev/
12M    etc/
8.0G    home/
3.6G    lib/
4.0K    lib32/
4.0K    lib64/
4.0K    libx32/
16K    lost+found/
8.0K    media/
4.0K    mnt/
228M    opt/
du: cannot access 'proc/23133/task/23133/fd/4': No such file or directory
du: cannot access 'proc/23133/task/23133/fdinfo/4': No such file or directory
du: cannot access 'proc/23133/fd/3': No such file or directory
du: cannot access 'proc/23133/fdinfo/3': No such file or directory
0    proc/
496K    root/
du: cannot access 'run/user/1000/doc': Permission denied
du: cannot access 'run/user/1000/gvfs': Permission denied
2.1M    run/
42M    sbin/
7.9G    snap/
4.0K    srv/
0    sys/
3.0M    tmp/
16K    Users/
1.6G    usr/
11G    var/

Can someone please helpme with this. I am new to linux Operating System.
Thankyou.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Top