Filesystem is 93% full. I need help to make sure I don't screw my Mint up.
by linuxsurfer from LinuxQuestions.org on (#5A45J)
While I used Linux since 2014, I've never had a filesystem fill up. Mine is 93% full on an HP laptop with Mint 20 installed on a dual-boot. I've spent a few days researching with Bing and Google.
I followed the instructions from this thread, https://www.linuxquestions.org/quest...ce-4175603355/.
I've never had to delete from a filesystem that I don't work in and I really need an experienced set of eyes to help me see what's wrong and guidance to make sure I don't delete the wrong thing. Following is what I've uncovered so far. I flipped a few steps in troublshooting by accident but it's the step-by-step in the linked thread above.
Thanks in advance.
oem@nightwingnook666:~$ sudo df -h
[sudo] password for oem:
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 385M 1.7M 384M 1% /run
/dev/sda6 19G 16G 1.3G 93% /
tmpfs 1.9G 202M 1.7G 11% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda1 260M 68M 192M 27% /boot/efi
/dev/sda7 506G 412G 69G 86% /home
tmpfs 385M 24K 385M 1% /run/user/29999
oem@nightwingnook666:~$ sudo du / | sort -rn | head
du: cannot access '/proc/5927/task/5927/fd/4': No such file or directory
du: cannot access '/proc/5927/task/5927/fdinfo/4': No such file or directory
du: cannot access '/proc/5927/fd/3': No such file or directory
du: cannot access '/proc/5927/fdinfo/3': No such file or directory
du: cannot access '/run/user/29999/doc': Permission denied
du: cannot access '/run/user/29999/gvfs': Permission denied
448462296/
431670604/home
431670576/home/oem
215124392/home/oem/Videos
154267116/home/oem/Downloads
26963860/home/oem/Comics
25873104/home/oem/Downloads/Naruto Shippuden Remake Complete (1-500, all seasons) [h.264] [Dual Audio]
21977280/home/oem/Videos/Queer As Folk US Season 4 Complete 720P AMZN WEB-DL x264 [i_c]
21894936/home/oem/Comics/Dennis O'Neil Comics
19898012/home/oem/Comics/Dennis O'Neil Comics/Comics
oem@nightwingnook666:~$ sudo df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 482115 627 481488 1% /dev
tmpfs 492412 1106 491306 1% /run
/dev/sda6 1222992 497229 725763 41% /
tmpfs 492412 377 492035 1% /dev/shm
tmpfs 492412 5 492407 1% /run/lock
tmpfs 492412 18 492394 1% /sys/fs/cgroup
/dev/sda1 0 0 0 - /boot/efi
/dev/sda7 33742848 88042 33654806 1% /home
tmpfs 492412 60 492352 1% /run/user/29999
oem@nightwingnook666:~$ sudo mkdir /tmp/rootbind
oem@nightwingnook666:~$ sudo mount --bind / /tmp/rootbind
oem@nightwingnook666:~$ sudo du -d 1 -h /tmp/rootbind
4.1G/tmp/rootbind/var
4.0K/tmp/rootbind/cdrom
4.0K/tmp/rootbind/mnt
4.0K/tmp/rootbind/proc
19M/tmp/rootbind/bin
4.0K/tmp/rootbind/sys
44K/tmp/rootbind/media
6.1M/tmp/rootbind/lib32
32K/tmp/rootbind/timeshift
283M/tmp/rootbind/boot
2.8M/tmp/rootbind/root
22M/tmp/rootbind/sbin
4.0K/tmp/rootbind/srv
4.0K/tmp/rootbind/home
124K/tmp/rootbind/tmp
1.4G/tmp/rootbind/lib
1.9G/tmp/rootbind/opt
16K/tmp/rootbind/dev
4.0K/tmp/rootbind/lib64
8.5G/tmp/rootbind/usr
116K/tmp/rootbind/run
16K/tmp/rootbind/lost+found
30M/tmp/rootbind/etc
16G/tmp/rootbind
oem@nightwingnook666:~$ sudo du -smx /* | sort -n
du: cannot access '/proc/6159/task/6159/fd/4': No such file or directory
du: cannot access '/proc/6159/task/6159/fdinfo/4': No such file or directory
du: cannot access '/proc/6159/fd/3': No such file or directory
du: cannot access '/proc/6159/fdinfo/3': No such file or directory
0/dev
0/proc
0/sys
1/cdrom
1/lib64
1/lost+found
1/media
1/mnt
1/srv
1/timeshift
2/run
3/root
7/lib32
19/bin
22/sbin
30/etc
283/boot
1370/lib
1861/opt
12740/tmp
421544/home
oem@nightwingnook666:~$ sudo 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,noexec,relatime,size=1928460k,nr_inodes=482115,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,nodev,noexec,relatime,size=393932k,mode=755)
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro)
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)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,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)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18156)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda7 on /home type ext4 (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/29999 type tmpfs (rw,nosuid,nodev,relatime,size=393928k,mode=700,uid=29999,gid=29999)
gvfsd-fuse on /run/user/29999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=29999,group_id=29999)
/dev/fuse on /run/user/29999/doc type fuse (rw,nosuid,nodev,relatime,user_id=29999,group_id=29999)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
/dev/sda6 on /tmp/rootbind type ext4 (rw,relatime,errors=remount-ro)
oem@nightwingnook666:~$ df -i /
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda6 1222992 497230 725762 41% /
oem@nightwingnook666:~$ sudo du -h --max-depth=1 /
4.1G/var
4.0K/cdrom
4.0K/mnt
du: cannot access '/proc/3728/task/3732/fdinfo/38': No such file or directory
du: cannot access '/proc/6324/task/6324/fd/4': No such file or directory
du: cannot access '/proc/6324/task/6324/fdinfo/4': No such file or directory
du: cannot access '/proc/6324/fd/3': No such file or directory
du: cannot access '/proc/6324/fdinfo/3': No such file or directory
0/proc
19M/bin
0/sys
44K/media
6.1M/lib32
32K/timeshift
350M/boot
2.8M/root
22M/sbin
4.0K/srv
412G/home
120K/tmp
1.4G/lib
1.9G/opt
0/dev
4.0K/lib64
8.5G/usr
du: cannot access '/run/user/29999/doc': Permission denied
du: cannot access '/run/user/29999/gvfs': Permission denied
1.8M/run
16K/lost+found
30M/etc
428G/


I followed the instructions from this thread, https://www.linuxquestions.org/quest...ce-4175603355/.
I've never had to delete from a filesystem that I don't work in and I really need an experienced set of eyes to help me see what's wrong and guidance to make sure I don't delete the wrong thing. Following is what I've uncovered so far. I flipped a few steps in troublshooting by accident but it's the step-by-step in the linked thread above.
Thanks in advance.
oem@nightwingnook666:~$ sudo df -h
[sudo] password for oem:
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 385M 1.7M 384M 1% /run
/dev/sda6 19G 16G 1.3G 93% /
tmpfs 1.9G 202M 1.7G 11% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda1 260M 68M 192M 27% /boot/efi
/dev/sda7 506G 412G 69G 86% /home
tmpfs 385M 24K 385M 1% /run/user/29999
oem@nightwingnook666:~$ sudo du / | sort -rn | head
du: cannot access '/proc/5927/task/5927/fd/4': No such file or directory
du: cannot access '/proc/5927/task/5927/fdinfo/4': No such file or directory
du: cannot access '/proc/5927/fd/3': No such file or directory
du: cannot access '/proc/5927/fdinfo/3': No such file or directory
du: cannot access '/run/user/29999/doc': Permission denied
du: cannot access '/run/user/29999/gvfs': Permission denied
448462296/
431670604/home
431670576/home/oem
215124392/home/oem/Videos
154267116/home/oem/Downloads
26963860/home/oem/Comics
25873104/home/oem/Downloads/Naruto Shippuden Remake Complete (1-500, all seasons) [h.264] [Dual Audio]
21977280/home/oem/Videos/Queer As Folk US Season 4 Complete 720P AMZN WEB-DL x264 [i_c]
21894936/home/oem/Comics/Dennis O'Neil Comics
19898012/home/oem/Comics/Dennis O'Neil Comics/Comics
oem@nightwingnook666:~$ sudo df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 482115 627 481488 1% /dev
tmpfs 492412 1106 491306 1% /run
/dev/sda6 1222992 497229 725763 41% /
tmpfs 492412 377 492035 1% /dev/shm
tmpfs 492412 5 492407 1% /run/lock
tmpfs 492412 18 492394 1% /sys/fs/cgroup
/dev/sda1 0 0 0 - /boot/efi
/dev/sda7 33742848 88042 33654806 1% /home
tmpfs 492412 60 492352 1% /run/user/29999
oem@nightwingnook666:~$ sudo mkdir /tmp/rootbind
oem@nightwingnook666:~$ sudo mount --bind / /tmp/rootbind
oem@nightwingnook666:~$ sudo du -d 1 -h /tmp/rootbind
4.1G/tmp/rootbind/var
4.0K/tmp/rootbind/cdrom
4.0K/tmp/rootbind/mnt
4.0K/tmp/rootbind/proc
19M/tmp/rootbind/bin
4.0K/tmp/rootbind/sys
44K/tmp/rootbind/media
6.1M/tmp/rootbind/lib32
32K/tmp/rootbind/timeshift
283M/tmp/rootbind/boot
2.8M/tmp/rootbind/root
22M/tmp/rootbind/sbin
4.0K/tmp/rootbind/srv
4.0K/tmp/rootbind/home
124K/tmp/rootbind/tmp
1.4G/tmp/rootbind/lib
1.9G/tmp/rootbind/opt
16K/tmp/rootbind/dev
4.0K/tmp/rootbind/lib64
8.5G/tmp/rootbind/usr
116K/tmp/rootbind/run
16K/tmp/rootbind/lost+found
30M/tmp/rootbind/etc
16G/tmp/rootbind
oem@nightwingnook666:~$ sudo du -smx /* | sort -n
du: cannot access '/proc/6159/task/6159/fd/4': No such file or directory
du: cannot access '/proc/6159/task/6159/fdinfo/4': No such file or directory
du: cannot access '/proc/6159/fd/3': No such file or directory
du: cannot access '/proc/6159/fdinfo/3': No such file or directory
0/dev
0/proc
0/sys
1/cdrom
1/lib64
1/lost+found
1/media
1/mnt
1/srv
1/timeshift
2/run
3/root
7/lib32
19/bin
22/sbin
30/etc
283/boot
1370/lib
1861/opt
12740/tmp
421544/home
oem@nightwingnook666:~$ sudo 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,noexec,relatime,size=1928460k,nr_inodes=482115,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,nodev,noexec,relatime,size=393932k,mode=755)
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro)
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)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,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)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18156)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda7 on /home type ext4 (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/29999 type tmpfs (rw,nosuid,nodev,relatime,size=393928k,mode=700,uid=29999,gid=29999)
gvfsd-fuse on /run/user/29999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=29999,group_id=29999)
/dev/fuse on /run/user/29999/doc type fuse (rw,nosuid,nodev,relatime,user_id=29999,group_id=29999)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
/dev/sda6 on /tmp/rootbind type ext4 (rw,relatime,errors=remount-ro)
oem@nightwingnook666:~$ df -i /
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda6 1222992 497230 725762 41% /
oem@nightwingnook666:~$ sudo du -h --max-depth=1 /
4.1G/var
4.0K/cdrom
4.0K/mnt
du: cannot access '/proc/3728/task/3732/fdinfo/38': No such file or directory
du: cannot access '/proc/6324/task/6324/fd/4': No such file or directory
du: cannot access '/proc/6324/task/6324/fdinfo/4': No such file or directory
du: cannot access '/proc/6324/fd/3': No such file or directory
du: cannot access '/proc/6324/fdinfo/3': No such file or directory
0/proc
19M/bin
0/sys
44K/media
6.1M/lib32
32K/timeshift
350M/boot
2.8M/root
22M/sbin
4.0K/srv
412G/home
120K/tmp
1.4G/lib
1.9G/opt
0/dev
4.0K/lib64
8.5G/usr
du: cannot access '/run/user/29999/doc': Permission denied
du: cannot access '/run/user/29999/gvfs': Permission denied
1.8M/run
16K/lost+found
30M/etc
428G/