I've ran out of space and decided to free memory by deleting virtual machine files holding 3.8G. After that I see strange df
output:
$ df -h | grep 'sda2\|Use'
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 110G 107G 0 100% /
Where are these available gigabytes that I've freed? System is unusable but it should be at least few gigabytes of space.
Tried to reboot, checked free inodes, tried to look at sudo lsof +L1
output - nothing.
Could anybody help?
UPD for @Katu:
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 795M 34M 762M 5% /run
/dev/sda2 110G 106G 0 100% /
tmpfs 3.9G 96K 3.9G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda1 464M 451M 0 100% /boot
tmpfs 795M 12K 795M 1% /run/user/123
tmpfs 795M 0 795M 0% /run/user/1000
If you haven't delete your virtual machine from command line, you have to empty the trash to see change in df -h.
You could also check the biggest files in your system to delete or backup.
Or whatever size you want.