No more space left on /tmp under Fedora

Under Fedora, one of my software requires more than 4Gb of temporary space and I realised that the /tmp directory is limited to 4Gb. In order to increase the /tmp directory, just edit the /etc/fstab file and add this line (to extend to 8Gb instead of 4Gb):

 none /tmp tmpfs size=8G 0 0

Then, as root:

mount -a

That’s it. You can check that you have now 8Gb available in /tmp by typing

df -h
Please follow and like us:
This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published.