I've been running Ubuntu 16.04 and recently have been getting regular messages that there is "no space left on device". I'm concerned that this will cause problems if I try to update to Ubuntu 20.04 LTS, so I would like to fix this first.
I have followed all the recommendations I have found in other threads, but the problem persists. Here is the output of df -h
:
df -h
Filesystem Size Used Avail Use% Mounted on
udev 3,8G 0 3,8G 0% /dev
tmpfs 783M 9,7M 773M 2% /run
/dev/nvme0n1p5 19G 18G 0 100% /
tmpfs 3,9G 151M 3,7G 4% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
/dev/loop4 163M 163M 0 100% /snap/gnome-3-28-1804/145
/dev/loop0 256K 256K 0 100% /snap/gtk2-common-themes/13
/dev/loop1 151M 151M 0 100% /snap/opera/130
/dev/loop2 27M 27M 0 100% /snap/heroku/4048
/dev/loop3 33M 33M 0 100% /snap/snapd/12057
/dev/loop5 136M 136M 0 100% /snap/skype/176
/dev/loop7 302M 302M 0 100% /snap/telegram-desktop/2637
/dev/loop8 66M 66M 0 100% /snap/gtk-common-themes/1515
/dev/loop6 56M 56M 0 100% /snap/core18/2074
/dev/loop9 65M 65M 0 100% /snap/gtk-common-themes/1514
/dev/loop10 100M 100M 0 100% /snap/core/11167
/dev/loop11 33M 33M 0 100% /snap/chromium-ffmpeg/17
/dev/loop13 56M 56M 0 100% /snap/core18/2066
/dev/loop12 135M 135M 0 100% /snap/skype/173
/dev/loop15 151M 151M 0 100% /snap/opera/128
/dev/loop16 244M 244M 0 100% /snap/gnome-3-38-2004/39
/dev/loop14 62M 62M 0 100% /snap/core20/975
/dev/loop17 188M 188M 0 100% /snap/audacity/857
/dev/loop18 176M 176M 0 100% /snap/postman/133
/dev/loop19 100M 100M 0 100% /snap/core/11187
/dev/loop20 33M 33M 0 100% /snap/snapd/12159
/dev/loop21 277M 277M 0 100% /snap/gimp/372
/dev/loop22 269M 269M 0 100% /snap/gimp/367
/dev/loop23 62M 62M 0 100% /snap/core20/1026
/dev/nvme0n1p6 465M 143M 295M 33% /boot
/dev/nvme0n1p7 77G 44G 30G 60% /home
/dev/nvme0n1p1 496M 83M 414M 17% /boot/efi
tmpfs 783M 84K 783M 1% /run/user/1000
In the past, after deleting old kernels and running various auto clean commands, I've seen an increase in the space available on /dev/nvme0n1p5 19G 18G 0 100% /
, and the "no space left on device" errors have (temporarily) ceased. But now this seems to remain unchanged.
Below is the output from mount
. It shows /dev/nvme0n1p5 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
:
mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=3974788k,nr_inodes=993697,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=801120k,mode=755)
/dev/nvme0n1p5 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15960)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
/var/lib/snapd/snaps/gnome-3-28-1804_145.snap on /snap/gnome-3-28-1804/145 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/gtk2-common-themes_13.snap on /snap/gtk2-common-themes/13 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/opera_130.snap on /snap/opera/130 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/heroku_4048.snap on /snap/heroku/4048 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/snapd_12057.snap on /snap/snapd/12057 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/skype_176.snap on /snap/skype/176 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/telegram-desktop_2637.snap on /snap/telegram-desktop/2637 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/gtk-common-themes_1515.snap on /snap/gtk-common-themes/1515 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core18_2074.snap on /snap/core18/2074 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/gtk-common-themes_1514.snap on /snap/gtk-common-themes/1514 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_11167.snap on /snap/core/11167 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/chromium-ffmpeg_17.snap on /snap/chromium-ffmpeg/17 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core18_2066.snap on /snap/core18/2066 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/skype_173.snap on /snap/skype/173 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/opera_128.snap on /snap/opera/128 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/gnome-3-38-2004_39.snap on /snap/gnome-3-38-2004/39 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core20_975.snap on /snap/core20/975 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/audacity_857.snap on /snap/audacity/857 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/postman_133.snap on /snap/postman/133 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_11187.snap on /snap/core/11187 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/snapd_12159.snap on /snap/snapd/12159 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/gimp_372.snap on /snap/gimp/372 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/gimp_367.snap on /snap/gimp/367 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core20_1026.snap on /snap/core20/1026 type squashfs (ro,nodev,relatime)
/dev/nvme0n1p6 on /boot type ext4 (rw,relatime,data=ordered)
/dev/nvme0n1p7 on /home type ext4 (rw,relatime,data=ordered)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=801120k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)