Low space on /

Alex de Kruijff freebsd at akruijff.dds.nl
Sat Mar 15 04:30:52 UTC 2008


On Fri, Mar 14, 2008 at 06:07:47PM +0100, Alex de Kruijff wrote:
> On Thu, Mar 13, 2008 at 05:16:29PM -0400, Jerry McAllister wrote:
> > On Thu, Mar 13, 2008 at 10:36:57PM +0200, Ghirai wrote:
> > 
> > > On Thu, 13 Mar 2008 16:15:22 -0400
> > > Robert Huff <roberthuff at 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.
> > 
> > try doing a df -k to see what file systems are really
> > there and what they have in them.    
> > Then go in to root (/) and do  ls -laF
> > That may provide some clues.
> > 
> 
> This seams to be be a partial account of /. 
> Try 'du -x / | grep \[\ 0-9\]*M' instead or 'du -shx /.[^.]* /*'.

The first command should be:
du -hx / | grep ^\[\ \.0-9\]\*M
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/



More information about the freebsd-questions mailing list