When tab-autocompleting in terminal, I'm getting the error:
-bash: cannot create temp file for here-document: No space left on device
This would appear to mean that /tmp/ is full, but it's mounted on my hard disk, which itself has lots of space left.
/tmp only contains one thing: a folder called /tmp/.mount_VCeNjK/.
I can't find out anything about it, because even sudo and su can't chmod it, read it, umount it, rm it, or stat it. They complain about permissions and say that it's busy.
What can I do? I'm nothing without my autocomplete.
/tmpis usually mounted in memory since it'stmpfsfilesystem. Rundfcommand, see what's the actual usage it reports. You can further analyze what takes up most memory viancduor justdurunning over/tmp. There's also a way to increase/tmpsize: https://askubuntu.com/a/199708/295286 – Sergiy Kolodyazhnyy Jan 19 '19 at 23:42sudo lsof +D /tmp/.mount_VCeNjK/will show you which processes have the directory (or files and directories underneath) open. When these processes finish (or arekilled), you'll probably be able tosudo rm -rf. But be aware that this will have side effects that I can't predict, so you MUST proceed with care. – waltinator Jan 20 '19 at 04:13/tmpusing tmpfs, seemount | grep tmpfor an example. – Kristopher Ives Jan 20 '19 at 08:54/tmpmounted as tmpfs in previous releases of Ubuntu, hence assuming it's default. Could have happened that I mounted it there myself at some point, but I don't recall doing so. There's apparently discussion on centos forum which suggests it may depend on amount of RAM – Sergiy Kolodyazhnyy Jan 20 '19 at 09:20