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
df -h
without the grep part? Maybe your file was mounted in a different mount point. – Katu Oct 17 '18 at 14:30df
output for root should show available space, but it is not. Strange, but seems that you are correct. – Dmitriy Vinokurov Oct 18 '18 at 03:48sudo apt autoremove
? But this is unrelated and I don't know how to solve your problem. – Katu Oct 18 '18 at 08:37