how big does /tmp need to be?

Brian McKee brian.mckee at gmail.com
Thu Aug 14 14:43:10 UTC 2008


On Thu, Aug 14, 2008 at 10:08 AM, Rashkae <ubuntu at tigershaunt.com> wrote:
> The only reason I can think of to use a separate partition for anything,
> be it /var or /home, is to preserve that data when something else is
> being destroyed/overwritten.

People create partitions for other reasons too.

One is some kind of performance/disk size issues - e.g. /tmp is on a
separate faster drive, or it's local when all your other partitions
are NFS mounted.

Another reason I can think of is keeping the system up when you run
out of space.
For instance, if you have /var/log on a separate partition, and
something runs wild with logging filling that partition, the system
stays up and running.  If it's all in one partition then you're hosed.
 I could see that argument for having /tmp on it's own.

Lastly if you like playing with file system types - e.g. you use ext3
for / and xfs for /tmp because you know you do transcoding projects in
/tmp all the time and muck with big files.

I suppose the note I should add to my original +1 comment is use LVM
and then it's easy to change later.

Brian




More information about the ubuntu-users mailing list