Following is the output of df -h
on my system.
Filesystem Size Used Avail Use% Mounted on
udev 63G 0 63G 0% /dev
tmpfs 13G 18M 13G 1% /run
/dev/sdc4 822G 801G 0 100% /
tmpfs 63G 64M 63G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/nvme1n1p2 96M 75M 22M 79% /boot/efi
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 13G 88K 13G 1% /run/user/1000
Using du -xsch /home
, I get the following:
60G /home
60G total
Using free -m
, I get the following:
total used free shared buff/cache available
Mem: 128831 8648 16405 147 103777 118367
Swap: 130986 18 130968
I only recently moved to using Linux, so I am not aware yet of how the disk partitioning is used. It also seems weird that my system had more than 500 GB yesterday, but just today it's started to show Free space: 0 bytes
at the bottom of every folder I open. This space error is causing things to hangup.
EDIT: I have deleted some files in excess of 40 GB, but it still shows Free space: 0 bytes
at the bottom of each folder, and does not allow me to copy any files. I am stunned that it was showing ~550 GB yesterday as the free space and suddenly all of it vanished, although there was nothing I did to occupy that space.
/tmp
? – pLumo Sep 01 '17 at 14:43$ /tmp
givesbash: /tmp: Is a directory
– user11 Sep 01 '17 at 14:44free -m
is about memory, not diskspace. – Rinzwind Sep 01 '17 at 14:46du -sh /tmp
... @Rinzwind Trash is part of /home which has only 60G. – pLumo Sep 01 '17 at 14:48$ du -sh /tmp du: cannot read directory '/tmp/systemd-private-1916acb2a3bd41e1b7d45cff70cf4d91-rtkit-daemon.service-4flEKu': Permission denied du: cannot read directory '/tmp/systemd-private-1916acb2a3bd41e1b7d45cff70cf4d91-colord.service-H2ci85': Permission denied 2.1M /tmp
– user11 Sep 01 '17 at 14:50/tmp
. sorry. – pLumo Sep 01 '17 at 14:51$ sudo du -sh /tmp sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
– user11 Sep 01 '17 at 14:52du -sh /*
to find out. It will take a while. – pLumo Sep 01 '17 at 14:54758G /var 0 /vmlinuz
. I have been trying to reboot, but it's not letting me. Currently, running the terminal throughAlt+F2
. – user11 Sep 01 '17 at 16:53find /var -size +1G -type f -exec du -Sh {} + | sort -rh | head -n 5
to try to find out what is so big in /var – drkokandy Sep 01 '17 at 16:59