When using the tab bar, I keep getting this error:
bash: cannot create temp file for here-document: No space left on device"
Any ideas?
I have been doing some research, and many people talk about the /tmp file, which might be having some overflow. When I execute df -h
I get:
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 9.1G 8.7G 0 100% /
udev 10M 0 10M 0% /dev
tmpfs 618M 8.8M 609M 2% /run
tmpfs 1.6G 0 1.6G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.6G 0 1.6G 0% /sys/fs/cgroup
/dev/sda1 511M 132K 511M 1% /boot/efi
/dev/sda4 1.8T 623G 1.1T 37% /home
tmpfs 309M 4.0K 309M 1% /run/user/116
tmpfs 309M 0 309M 0% /run/user/1000
It looks like the /dev/data directory is about to explode, however if I tip:
$ du -sh /dev/sda2
0 /dev/sda2
It seems it's empty.
I am new in Debian and I really don't know how to proceed. I used to typically access this computer via ssh. Besides this problem I have several others with this computer, they might be related, for instance each time I want to enter my user using the GUI (with root it works) I get:
Xsession: warning: unable to write to /tmp: Xsession may exit with an error
du -hxd1 /
, notdu /dev/sda2
./dev/sda2
doesn't really exist on disk.