Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 14:27:01 -0500
From:      Glen Barber <glen.j.barber@gmail.com>
To:        Andy Wodfer <wodfer@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Help! locate.code /tmp: filesystem full
Message-ID:  <4ad871310901141127o509d2480l56233209d79d1694@mail.gmail.com>
In-Reply-To: <23ed14b80901141034l16ee0dedp9837e4f1162e253b@mail.gmail.com>
References:  <23ed14b80901141034l16ee0dedp9837e4f1162e253b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 14, 2009 at 1:34 PM, Andy Wodfer <wodfer@gmail.com> wrote:
> Hi,
> I'm getting an error message every week and I can't seem to understand why
> nor manage to fix it. Here it is:
>

[snip]

>
> # df -h
> Filesystem     Size    Used   Avail Capacity  Mounted on
> /dev/ar0s1a    989M     53M    857M     6%    /
> devfs          1.0K    1.0K      0B   100%    /dev
> /dev/ar0s1g     48G    8.5G     36G    19%    /backup
> /dev/ar0s1d    989M     44K    910M     0%    /tmp
> /dev/ar0s1f    387G    168G    189G    47%    /usr
> /dev/ar0s1e    7.7G    398M    6.7G     5%    /var
>
> As you see there's 910MB free space in /tmp. Should be plenty to run the
> weekly locate script?
>

Have you recently had disk failures?  When was your last `fsck' ?

What is the output of `du -h /tmp' ?

To rule out if 910M is not enough, you could `mv' /tmp to /tmp.bak and
do a hard link pointing a new /tmp somewhere with more space, for
example /usr/faketmp.

I don't know how this will affect fstab or mount, however.

-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310901141127o509d2480l56233209d79d1694>