Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 22:06:56 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Ghirai <ghirai@ghirai.com>
Subject:   Re: Low space on /
Message-ID:  <200803132206.59355.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <20080313223657.2be87400.ghirai@ghirai.com>
References:  <20080313220748.63be20bf.ghirai@ghirai.com> <18393.35674.442789.638417@jerusalem.litteratus.org> <20080313223657.2be87400.ghirai@ghirai.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 March 2008 21:36:57 Ghirai wrote:
> On Thu, 13 Mar 2008 16:15:22 -0400
>
> Robert Huff <roberthuff@rcn.com> wrote:
> > Ghirai writes:
> > >  Can't remember exactly since when, or how, but atm. i see this:
> > >
> > >  Filesystem             Size    Used   Avail Capacity  Mounted on
> > >  /dev/ad6s3a            496M    454M    1.8M   100%    /
> >
> > 	Start with /tmp.
> > 	Also:
> >
> > 	du -x / | sort -nr | head -n 25
>
> Here's the output (removed a couple other < 100KiB ):
>
> 986K    /bin
> 512B    /dev
> 366K    /etc/rc.d
> 270K    /lib/geom
> 250K    /etc/mail
> 170K    /libexec
> 138K    /etc/ssh
> 137M    /
> 121M    /boot
> 118K    /etc/periodic
> 116K    /etc/defaults
> 112M    /boot/kernel
>
> /tmp is ~2MiB.
>
> Atm. i have no clue how df reports 454M used...

That's cause you did du -xh | sort, so you're missing the 90M entries.
Then again, it reports 137M for /.

So, very likely there's a file in /tmp that's unlinked but still opened by a 
program.
fstat -f / or fstat -u myuid should give you a clue.


-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



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