Can't write to /tmp (no space left on disk)

Support section for FREESCO v0.4.x

Can't write to /tmp (no space left on disk)

Postby Zhekator » Mon Nov 07, 2011 8:49 am

Some programs use /tmp. (e.g. Webmin for new upgrades or installing modules). But there is not enoght space in /tmp.
/tmp on the root of hda1
I can't instal big modules.
What's happend?
Where is quota and how to change it on this directory?
Thank you in advance.
Posts: 3
Joined: Thu Oct 13, 2011 4:22 am

Re: Can't write to /tmp (no space left on disk)

Postby Lightning » Mon Nov 07, 2011 9:06 pm

The /tmp directory in FREESCO is in the ramdisk. So there is no permanent storage of files. As soon as you reboot the system the /tmp directory will be empty other than the current log that is created at boot time. Most if not all standard FREESCO packages are created to never use this directory other than to store pid files and other non essential files that are very small in size.

There is a manual way to force the /tmp directory to be a hard drive directory. Such as to create a /boot/tmp directory and then link it to the /tmp directory at boot time in the rc_user script. But you still need to add some other scripting to clean the directory as well at boot time so the directory does not have a bunch of unnecessary files in it.

The best solution is to figure out what program is using the space and re-configure it to use another location. Which we can do if we know what is using the directory.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Posts: 12080
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Return to FREESCO Support for v0.4.x

Who is online

Users browsing this forum: No registered users and 3 guests