No space left - tmp is full
Posted: 06 Mar 2014, 12:19
I came across this message while installing another kernel in one of My VB-distros.
There was enough space according to but the tmpfs was full. And when tmp is full you get the message that there is not enough space left on your box.
tmpfs is used for swapping memory on some distros and does normally have half the size of the physical RAM. In a Virtualbox that can be scarce.
That is bad especially when replacing a kernel so what to do?
Here is the trick:
This will instantly give you a 5 giga byte tmpfs that will last until your next boot. You can make it 10G or whatever of course.
So you can build and compile your big programs. (You need a 64 bit installation to make more than 2G tmp).
By the next boot it will be back to normal.
If you want a permanently bigger tmpfs you can edit fstab
There was enough space according to
Code: Select all
dftmpfs is used for swapping memory on some distros and does normally have half the size of the physical RAM. In a Virtualbox that can be scarce.
That is bad especially when replacing a kernel so what to do?
Here is the trick:
Code: Select all
mount -o remount,size=5G,noatime /tmpThis will instantly give you a 5 giga byte tmpfs that will last until your next boot. You can make it 10G or whatever of course.
So you can build and compile your big programs. (You need a 64 bit installation to make more than 2G tmp).
By the next boot it will be back to normal.
If you want a permanently bigger tmpfs you can edit fstab