/tmp filesystem full

Michael Ross gmx at ross.cx
Wed Aug 22 12:27:03 UTC 2012


On Wed, 22 Aug 2012 12:59:13 +0200, Andy Wodfer <wodfer at gmail.com> wrote:

> Hi,
> I have about 500MB in my /tmp and it seems to be too small when the
> periodic LOCATE script runs every week.
>
> What's the best way to increase the size of /tmp ? Could I simply remove  
> it
> and create a symbolic link ln -s to say /usr/tmp instead (where I have
> several hundred GBs free)?
>
> PS! This is on a live server and I would like to keep downtime and  
> problems
> to a minimum. :-)
>
> Cheers,
> Andy

If it's just locate.updatedb filling it up temporarily,
perhaps you can solve this by ommitting part of your filesystem from the  
locate index.

See /etc/locate.rc


Regards,

Michael


More information about the freebsd-questions mailing list